@@ -383,7 +383,55 @@ master:
383383 # # containerPort: 1234
384384 # #
385385 initContainers : []
386-
386+ # # Enable persistence using Persistent Volume Claims
387+ # # ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
388+ # #
389+ persistence :
390+ # # @param master.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
391+ # #
392+ enabled : false
393+ # # @param master.persistence.storageClass Persistent Volume Storage Class
394+ # # If defined, storageClassName: <storageClass>
395+ # # If set to "-", storageClassName: "", which disables dynamic provisioning
396+ # # If undefined (the default) or set to null, no storageClassName spec is
397+ # # set, choosing the default provisioner. (gp2 on AWS, standard on
398+ # # GKE, AWS & OpenStack)
399+ # #
400+ storageClass : " "
401+ # # @param master.persistence.existingClaim Existing Persistent Volume Claim
402+ # # then accept the value as an existing Persistent Volume Claim to which
403+ # # the container should be bound
404+ # #
405+ existingClaim : " "
406+ # # @param master.persistence.existingVolume Existing Persistent Volume for use as volume match label selector to the `volumeClaimTemplate`. Ignored when `master.persistence.selector` is set.
407+ # #
408+ existingVolume : " "
409+ # # @param master.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `master.persistence.existingVolume`
410+ # # selector:
411+ # # matchLabels:
412+ # # volume:
413+ # #
414+ selector : {}
415+ # # @param master.persistence.annotations Persistent Volume Claim annotations
416+ # #
417+ annotations : {}
418+ # # @param master.persistence.accessModes Persistent Volume Access Modes
419+ # #
420+ accessModes :
421+ - ReadWriteOnce
422+ # # @param master.persistence.size Persistent Volume Size
423+ # #
424+ size : 1Gi
425+ # # persistentVolumeClaimRetentionPolicy
426+ # # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
427+ # # @param master.persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of a StatefulSet
428+ # # @param master.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
429+ # # @param master.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
430+ # #
431+ persistentVolumeClaimRetentionPolicy :
432+ enabled : true
433+ whenScaled : Delete
434+ whenDeleted : Delete
387435# # @section Spark worker parameters
388436# #
389437
@@ -680,6 +728,55 @@ worker:
680728 maxReplicas : 5
681729 targetCPU : 50
682730 targetMemory : " "
731+ # # Enable persistence using Persistent Volume Claims
732+ # # ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
733+ # #
734+ persistence :
735+ # # @param worker.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
736+ # #
737+ enabled : false
738+ # # @param worker.persistence.storageClass Persistent Volume Storage Class
739+ # # If defined, storageClassName: <storageClass>
740+ # # If set to "-", storageClassName: "", which disables dynamic provisioning
741+ # # If undefined (the default) or set to null, no storageClassName spec is
742+ # # set, choosing the default provisioner. (gp2 on AWS, standard on
743+ # # GKE, AWS & OpenStack)
744+ # #
745+ storageClass : " "
746+ # # @param worker.persistence.existingClaim Existing Persistent Volume Claim
747+ # # then accept the value as an existing Persistent Volume Claim to which
748+ # # the container should be bound
749+ # #
750+ existingClaim : " "
751+ # # @param worker.persistence.existingVolume Existing Persistent Volume for use as volume match label selector to the `volumeClaimTemplate`. Ignored when `worker.persistence.selector` is set.
752+ # #
753+ existingVolume : " "
754+ # # @param worker.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `worker.persistence.existingVolume`
755+ # # selector:
756+ # # matchLabels:
757+ # # volume:
758+ # #
759+ selector : {}
760+ # # @param worker.persistence.annotations Persistent Volume Claim annotations
761+ # #
762+ annotations : {}
763+ # # @param worker.persistence.accessModes Persistent Volume Access Modes
764+ # #
765+ accessModes :
766+ - ReadWriteOnce
767+ # # @param worker.persistence.size Persistent Volume Size
768+ # #
769+ size : 1Gi
770+ # # persistentVolumeClaimRetentionPolicy
771+ # # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
772+ # # @param worker.persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of a StatefulSet
773+ # # @param worker.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
774+ # # @param worker.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
775+ # #
776+ persistentVolumeClaimRetentionPolicy :
777+ enabled : true
778+ whenScaled : Delete
779+ whenDeleted : Delete
683780
684781# # @section Security parameters
685782# #
0 commit comments