mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
[bitnami/kafka] Add nodeSelector to Kafka provisioning (#12913)
* Add nodeSelector to Kafka provisioning Signed-off-by: Craig Minihan <craig@ripcordsoftware.com> * Bumped the chart version Signed-off-by: Craig Minihan <craig@ripcordsoftware.com> * Updated the README with readme-generator Signed-off-by: Craig Minihan <craig@ripcordsoftware.com>
This commit is contained in:
@@ -29,4 +29,4 @@ name: kafka
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/kafka
|
||||
- https://kafka.apache.org/
|
||||
version: 19.0.0
|
||||
version: 19.0.1
|
||||
|
||||
@@ -427,6 +427,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `provisioning.numPartitions` | Default number of partitions for topics when unspecified | `1` |
|
||||
| `provisioning.replicationFactor` | Default replication factor for topics when unspecified | `1` |
|
||||
| `provisioning.topics` | Kafka topics to provision | `[]` |
|
||||
| `provisioning.nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `provisioning.tolerations` | Tolerations for pod assignment | `[]` |
|
||||
| `provisioning.extraProvisioningCommands` | Extra commands to run to provision cluster resources | `[]` |
|
||||
| `provisioning.parallel` | Number of provisioning commands to run at the same time | `1` |
|
||||
|
||||
@@ -38,6 +38,9 @@ spec:
|
||||
{{- end }}
|
||||
restartPolicy: OnFailure
|
||||
terminationGracePeriodSeconds: 0
|
||||
{{- if .Values.provisioning.nodeSelector }}
|
||||
nodeSelector: {{- include "common.tplvalues.render" ( dict "value" .Values.provisioning.nodeSelector "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.provisioning.tolerations }}
|
||||
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.provisioning.tolerations "context" .) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1483,6 +1483,10 @@ provisioning:
|
||||
## flush.messages: 1
|
||||
##
|
||||
topics: []
|
||||
## @param provisioning.nodeSelector Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
nodeSelector: {}
|
||||
## @param provisioning.tolerations Tolerations for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user