Hi, I am using the bellow config to enable pvc in EKS for workers but it does not work…
houston:
resources:
requests:
cpu: "500m"
memory: "1024Mi"
limits:
cpu: "1000m"
memory: "2048Mi"
config:
publicSignups: true
email:
enabled: true
reply: "astronomer@lala.net"
deployments:
helm:
workers:
persistence:
# Enable persistent volumes
enabled: true
# Volume size for worker StatefulSet
size: 100Gi
# If using a custom storageClass, pass name ref to all statefulSets here
storageClassName: "efs-sc"
# Execute init container to chown log directory.
# This is currently only needed in kind, due to usage
# of local-path provisioner.
fixPermissions: false
dags:
persistence:
# Enable persistent volume for storing dags
enabled: true
# Volume size for dags
size: 100Gi
# If using a custom storageClass, pass name here
storageClassName: "efs-sc"
# access mode of the persistent volume
accessMode: ReadWriteMany
logs:
persistence:
# Enable persistent volume for storing logs
enabled: true
# Volume size for logs
size: 100Gi
# If using a custom storageClass, pass name here
storageClassName: "efs-sc"
## the name of an existing PVC to use
If I go and get the helm values from the aiflow deployment I get that persistence is still false
workers:
extraVolumeMounts: []
extraVolumes: []
keda:
enabled: false
namespaceLabels:
name: astronomer
persistence:
enabled: false
fixPermissions: false
size: 100Gi
storageClassName: efs-sc
replicas: 1
resources:
limits:
cpu: 1000m
ephemeral-storage: 2Gi
memory: 3840Mi
requests:
cpu: 1000m
ephemeral-storage: 1Gi
memory: 3840Mi
safeToEvict: true
terminationGracePeriodSeconds: 600
And for dags and logs it is set correctly:
dags:
persistence:
accessMode: ReadWriteMany
enabled: true
size: 100Gi
storageClassName: efs-sc
logs:
persistence:
enabled: true
size: 100Gi
storageClassName: efs-sc
Any ideea if I am doing something wrong when configuring it?