Coder Social home page Coder Social logo

0xding / s3-fuse-flex-volume-aml2-helm Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3 KB

This helm chart adds S3 FUSE flex volume drivers to your kubernetes cluster. Forked from informatics-lab/s3-fuse-flex-volume and add Amazon Linux 2 Support.

License: Other

kubernetes fuse-filesystem s3 amazon-linux-2 goofys

s3-fuse-flex-volume-aml2-helm's Introduction

S3 FUSE Flex Volume Drivers - Amazon Linux 2 Helm Chart

This helm chart adds S3 FUSE flex volume drivers to your kubernetes cluster. Forked from informatics-lab/s3-fuse-flex-volume and add Amazon Linux 2 Support.

WARNING This Chart only supports Amazon Linux 2, please use informatics-lab/s3-fuse-flex-volume for other distributions.

Installation

git clone https://github.com/borisding1994/s3-fuse-flex-volume-aml2-helm
helm install --namespace kube-system --name s3-fuse-deployer ./s3-fuse-flex-volume-aml2-helm

This helm chart will create a DaemonSet which uses privileged containers to install the fuse dependancies and the flex drivers on the kubernetes nodes. You are then able to use the drivers in your pod definitions.

Usage examples

pysssix

Pysssix will mount "all" of S3 which is accessible to the authenticating user. A mount point is created which referrs to all of S3 and then you access objects at /<mount>/<bucket>/<object>.

With this driver you are limited to read only.

volumes:
  - name: pysssix
    flexVolume:
      driver: "informaticslab/pysssix-flex-volume"
      options:
        # Optional
        subPath: "key/prefix"
containers:
  - name: mycontainer
    ...
    volumeMounts:
      - name: pysssix
        mountPath: /s3

goofys

Goofys will only mount a specific bucket so you must provide the bucket option.

volumes:
  - name: goofys-mybucket
    flexVolume:
      driver: "informaticslab/goofys-flex-volume"
      options:
        # Required
        bucket: "mybucket"
        # Optional
        dirMode: "0755"
        fileMode: "0644"
        subPath: "key/prefix"
containers:
  - name: mycontainer
    ...
    volumeMounts:
      - name: goofys-mybucket
        mountPath: /s3/mybucket

License

CopyrightThis project is licensed under GLWTPL

s3-fuse-flex-volume-aml2-helm's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.