Skip to content

Commit

Permalink
feat: EFS compatibility Storage Class for AWS (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk authored Dec 18, 2023
1 parent ac17a5f commit bae5869
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/operator-wandb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: operator-wandb
description: A Helm chart for deploying W&B to Kubernetes
type: application
version: 0.10.30
version: 0.10.31
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down
14 changes: 14 additions & 0 deletions charts/operator-wandb/charts/weave/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,19 @@ mountOptions:
- "strictatime"
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
{{- else if eq .Values.persistence.provider "efs" }}
provisioner: efs.csi.aws.com
reclaimPolicy: Delete
allowVolumeExpansion: true
parameters:
provisioningMode: efs-ap
fileSystemId: {{ .Values.persistence.efs.fileSystemId | quote }}
directoryPerms: "700"
gidRangeStart: "1000" # optional
gidRangeEnd: "2000" # optional
basePath: "/dynamic_provisioning" # optional
ensureUniqueDirectory: "true" # optional
reuseAccessPoint: "false" # optional
volumeBindingMode: WaitForFirstConsumer
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/operator-wandb/charts/weave/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ clusterRole: {}

service:
type: ClusterIP
annotations: {}

pod:
securityContext:
Expand Down Expand Up @@ -49,3 +50,5 @@ persistence:
accessMode: ReadWriteMany
# storageClassName: ""
size: 20Gi
efs:
fileSystemId: ""
3 changes: 3 additions & 0 deletions charts/operator-wandb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ weave:
image:
repository: wandb/local
tag: latest
persistence:
efs:
fileSystemId: ""

console:
install: true
Expand Down

0 comments on commit bae5869

Please sign in to comment.