|
| 1 | +## @param fullnameOverride String to fully override common.names.fullname template |
| 2 | +## |
| 3 | +fullnameOverride: "hb-spark-standard-20c40g4w" |
| 4 | + |
| 5 | +## Spark master specific configuration |
| 6 | +## |
| 7 | +master: |
| 8 | + ## @param master.daemonMemoryLimit Set the memory limit for the master daemon |
| 9 | + ## |
| 10 | + daemonMemoryLimit: "" |
| 11 | + ## @param master.configOptions Use a string to set the config options for in the form "-Dx=y" |
| 12 | + ## |
| 13 | + configOptions: "" |
| 14 | + ## @param master.extraEnvVars Extra environment variables to pass to the master container |
| 15 | + ## For example: |
| 16 | + ## extraEnvVars: |
| 17 | + ## - name: SPARK_DAEMON_JAVA_OPTS |
| 18 | + ## value: -Dx=y |
| 19 | + ## |
| 20 | + ## Container resource requests and limits |
| 21 | + ## ref: https://kubernetes.io/docs/user-guide/compute-resources/ |
| 22 | + ## We usually recommend not to specify default resources and to leave this as a conscious |
| 23 | + ## choice for the user. This also increases chances charts run on environments with little |
| 24 | + ## resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 25 | + ## lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 26 | + ## @param master.resources.limits The resources limits for the container |
| 27 | + ## @param master.resources.requests The requested resources for the container |
| 28 | + ## |
| 29 | + resources: |
| 30 | + limits: |
| 31 | + cpu: 20000m |
| 32 | + memory: 40Gi |
| 33 | + requests: |
| 34 | + cpu: 4000m |
| 35 | + memory: 20Gi |
| 36 | + ## Enable persistence using Persistent Volume Claims |
| 37 | + ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/ |
| 38 | + ## |
| 39 | + persistence: |
| 40 | + enabled: true |
| 41 | + accessModes: |
| 42 | + - ReadWriteOnce |
| 43 | + size: 2Gi |
| 44 | +## @section Spark worker parameters |
| 45 | +## |
| 46 | + |
| 47 | +## Spark worker specific configuration |
| 48 | +## |
| 49 | +worker: |
| 50 | + ## @param worker.daemonMemoryLimit Set the memory limit for the worker daemon |
| 51 | + ## |
| 52 | + daemonMemoryLimit: "" |
| 53 | + ## @param worker.memoryLimit Set the maximum memory the worker is allowed to use |
| 54 | + ## |
| 55 | + memoryLimit: "" |
| 56 | + ## @param worker.coreLimit Se the maximum number of cores that the worker can use |
| 57 | + ## |
| 58 | + coreLimit: "" |
| 59 | + javaOptions: "" |
| 60 | + ## @param worker.configOptions Set extra options to configure the worker in the form `-Dx=y` |
| 61 | + ## |
| 62 | + configOptions: "" |
| 63 | + ## @param worker.extraEnvVars An array to add extra env vars |
| 64 | + ## For example: |
| 65 | + ## extraEnvVars: |
| 66 | + ## - name: SPARK_DAEMON_JAVA_OPTS |
| 67 | + ## value: -Dx=y |
| 68 | + |
| 69 | + ## @param worker.replicaCount Number of spark workers (will be the minimum number when autoscaling is enabled) |
| 70 | + ## |
| 71 | + replicaCount: 4 |
| 72 | + ## Container resource requests and limits |
| 73 | + ## ref: https://kubernetes.io/docs/user-guide/compute-resources/ |
| 74 | + ## We usually recommend not to specify default resources and to leave this as a conscious |
| 75 | + ## choice for the user. This also increases chances charts run on environments with little |
| 76 | + ## resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 77 | + ## lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 78 | + ## @param worker.resources.limits The resources limits for the container |
| 79 | + ## @param worker.resources.requests The requested resources for the container |
| 80 | + ## |
| 81 | + resources: |
| 82 | + limits: |
| 83 | + cpu: 20000m |
| 84 | + memory: 40Gi |
| 85 | + requests: |
| 86 | + cpu: 4000m |
| 87 | + memory: 20Gi |
| 88 | + ## Enable persistence using Persistent Volume Claims |
| 89 | + ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/ |
| 90 | + ## |
| 91 | + persistence: |
| 92 | + enabled: true |
| 93 | + accessModes: |
| 94 | + - ReadWriteOnce |
| 95 | + size: 2Gi |
0 commit comments