mirror of
https://github.com/bitnami/charts.git
synced 2026-03-12 14:57:18 +08:00
[bitnami/mongodb-sharded] add podManagementPolicy config for statefulsets to enable parallel startup (#3234)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: mongodb-sharded
|
||||
version: 1.5.9
|
||||
version: 1.6.0
|
||||
appVersion: 4.2.8
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. Sharded topology.
|
||||
keywords:
|
||||
|
||||
@@ -135,6 +135,7 @@ The following table lists the configurable parameters of the MongoDB chart and t
|
||||
| `configsvr.nodeSelector` | Node labels for pod assignment (evaluated as a template) | `{}` |
|
||||
| `configsvr.affinity` | Affinity for pod assignment (evaluated as a template) | `{}` |
|
||||
| `configsvr.tolerations` | Toleration labels for pod assignment (evaluated as a template) | `{}` |
|
||||
| `configsvr.podManagementPolicy` | Statefulsets pod management policy (evaluated as a template) | `OrderedReady` |
|
||||
| `configsvr.updateStrategy` | Statefulsets update strategy policy (evaluated as a template) | `RollingUpdate` |
|
||||
| `configsvr.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `configsvr.pdb.enabled` | Enable pod disruption budget | `false` |
|
||||
@@ -202,6 +203,7 @@ The following table lists the configurable parameters of the MongoDB chart and t
|
||||
| `shardsvr.dataNode.nodeSelector` | Node labels for pod assignment (evaluated as a template) | `{}` |
|
||||
| `shardsvr.dataNode.affinity` | Affinity for pod assignment (evaluated as a template). Will include `.arbiterLoopId` which identifies the shard. | `{}` |
|
||||
| `shardsvr.dataNode.tolerations` | Toleration labels for pod assignment (evaluated as a template) | `{}` |
|
||||
| `shardsvr.podManagementPolicy` | Statefulsets pod management policy (evaluated as a template) | `OrderedReady` |
|
||||
| `shardsvr.dataNode.updateStrategy` | Statefulsets update strategy policy (evaluated as a template) | `RollingUpdate` |
|
||||
| `shardsvr.dataNode.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `shardsvr.dataNode.pdb.enabled` | Enable pod disruption budget | `false` |
|
||||
@@ -237,6 +239,7 @@ The following table lists the configurable parameters of the MongoDB chart and t
|
||||
| `shardsvr.arbiter.nodeSelector` | Node labels for pod assignment (evaluated as a template) | `{}` |
|
||||
| `shardsvr.arbiter.affinity` | Affinity for pod assignment (evaluated as a template). Will include `.arbiterLoopId` which identifies the shard. | `{}` |
|
||||
| `shardsvr.arbiter.tolerations` | Toleration labels for pod assignment (evaluated as a template) | `{}` |
|
||||
| `shardsvr.arbiter.podManagementPolicy` | Statefulsets pod management policy (evaluated as a template) | `OrderedReady` |
|
||||
| `shardsvr.arbiter.updateStrategy` | Statefulsets update strategy policy (evaluated as a template) | `RollingUpdate` |
|
||||
| `shardsvr.arbiter.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `shardsvr.arbiter.sidecars` | Attach additional containers (evaluated as a template) | `nil` |
|
||||
|
||||
@@ -11,6 +11,7 @@ spec:
|
||||
app.kubernetes.io/component: configsvr
|
||||
serviceName: {{ include "mongodb-sharded.fullname" . }}-headless
|
||||
replicas: {{ .Values.configsvr.replicas }}
|
||||
podManagementPolicy: {{ .Values.configsvr.podManagementPolicy }}
|
||||
updateStrategy: {{- toYaml .Values.configsvr.updateStrategy | nindent 4 }}
|
||||
template:
|
||||
metadata:
|
||||
|
||||
@@ -11,6 +11,7 @@ spec:
|
||||
selector:
|
||||
matchLabels: {{- include "mongodb-sharded.matchLabels" $ | nindent 6 }}
|
||||
app.kubernetes.io/component: shardsvr-arbiter
|
||||
podManagementPolicy: {{ $.Values.shardsvr.arbiter.podManagementPolicy }}
|
||||
updateStrategy: {{- toYaml $.Values.shardsvr.arbiter.updateStrategy | nindent 4 }}
|
||||
serviceName: {{ include "mongodb-sharded.fullname" $ }}-headless
|
||||
replicas: {{ $.Values.shardsvr.arbiter.replicas }}
|
||||
|
||||
@@ -11,6 +11,7 @@ spec:
|
||||
selector:
|
||||
matchLabels: {{- include "mongodb-sharded.matchLabels" $ | nindent 6 }}
|
||||
app.kubernetes.io/component: shardsvr
|
||||
podManagementPolicy: {{ $.Values.shardsvr.dataNode.podManagementPolicy }}
|
||||
updateStrategy: {{- toYaml $.Values.shardsvr.dataNode.updateStrategy | nindent 4 }}
|
||||
serviceName: {{ include "mongodb-sharded.fullname" $ }}-headless
|
||||
replicas: {{ $.Values.shardsvr.dataNode.replicas }}
|
||||
|
||||
@@ -132,6 +132,10 @@ shardsvr:
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
## podManagementPolicy for the statefulset, allows parallel startup of pods
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
|
||||
##
|
||||
podManagementPolicy: OrderedReady
|
||||
## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
##
|
||||
@@ -241,6 +245,10 @@ shardsvr:
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
## podManagementPolicy for the statefulset, allows parallel startup of pods
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
|
||||
##
|
||||
podManagementPolicy: OrderedReady
|
||||
## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
##
|
||||
@@ -372,6 +380,10 @@ configsvr:
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
## podManagementPolicy for the Statefulset, allows parallel startup of pods
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
|
||||
##
|
||||
podManagementPolicy: OrderedReady
|
||||
## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
##
|
||||
|
||||
@@ -112,6 +112,10 @@ shardsvr:
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
## podManagementPolicy for the statefulset, allows parallel startup of pods
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
|
||||
##
|
||||
podManagementPolicy: OrderedReady
|
||||
## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
##
|
||||
@@ -221,6 +225,10 @@ shardsvr:
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
## podManagementPolicy for the statefulset, allows parallel startup of pods
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
|
||||
##
|
||||
podManagementPolicy: OrderedReady
|
||||
## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
##
|
||||
@@ -352,6 +360,10 @@ configsvr:
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
## podManagementPolicy for the statefulset, allows parallel startup of pods
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
|
||||
##
|
||||
podManagementPolicy: OrderedReady
|
||||
## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user