Created
August 21, 2024 10:10
-
-
Save nivleshc/a8134cb0c978287243dcd628da1abe94 to your computer and use it in GitHub Desktop.
This gist contains code from the helm/s3-csi-demo/values.yaml file which is part of the blog-amazon-s3-filesystem-for-amazon-eks-cluster repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
storageClass: | |
name: s3-storageclass | |
provisioner: s3.csi.aws.com # Provisioner for AWS S3 | |
parameters: | |
type: standard | |
persistentVolume: | |
name: s3-pv | |
capacity: | |
storageSize: 5Gi | |
volumeMode: Filesystem | |
accessModes: ReadWriteMany # supported options: ReadWriteMany / ReadOnlyMany | |
storageClassName: s3-storageclass | |
mountOptions: | |
- allow-delete | |
- region ap-southeast-2 | |
- prefix s3-csi/ # prefix inside the Amazon S3 bucket whose contents will be exposed by the S3 CSI driver | |
persistentVolumeReclaimPolicy: Retain | |
csi: | |
driver: s3.csi.aws.com # required | |
volumeHandle: mys3bucket-volume # handle to reference the volume with | |
bucketName: mys3bucket # the bucket name whose contents will be exposed by the S3 CSI driver | |
persistentVolumeClaim: | |
name: s3-pvc | |
accessModes: ReadWriteMany # supported options: ReadWriteMany / ReadOnlyMany | |
storageClassName: s3-storageclass # required for static provisioning | |
resources: | |
requests: | |
storage: 5Gi | |
volumeName: s3-pv | |
nginx: | |
name: nginx | |
labels: | |
app: nginx | |
spec: | |
containers: | |
name: nginx | |
image: nginx:1.27.0-perl | |
ports: | |
containerPort: 80 | |
protocol: TCP | |
volumeMount: | |
name: s3-volume | |
mountPath: /s3 | |
volumes: | |
name: s3-volume | |
persistentVolumeClaim: | |
claimName: s3-pvc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment