Skip to content

Commit cafcb1c

Browse files
Update statefulset.yml (#9)
* Update statefulset.yml * Update Chart.yaml * change repository for voltdb --------- Co-authored-by: mnishhhD11 <manish.patel@dream11.com>
1 parent 894810e commit cafcb1c

File tree

5 files changed

+41
-32
lines changed

5 files changed

+41
-32
lines changed

charts/voltdb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: voltdb
33
description: Voltdb helm chart
4-
version: 0.1.0
4+
version: 0.1.1
55
appVersion: "9.2.1"
66
keywords:
77
- voltdb

charts/voltdb/README.md

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -104,35 +104,36 @@ The command removes all the Kubernetes components associated with the chart and
104104

105105
### Statefulset parameters
106106

107-
| Name | Description | Value |
108-
| ------------------------------------ | --------------------------------------------- | --------------- |
109-
| `replicaCount` | Number of Voltdb replicas | `1` |
110-
| `affinity` | Affinity for pod assignment | `{}` |
111-
| `nodeSelector` | Node labels for pod assignment | `{}` |
112-
| `updateStrategy.type` | Update Strategy for Voltdb statefulset | `RollingUpdate` |
113-
| `podManagementPolicy` | StatefulSet pod management policy | `Parallel` |
114-
| `podAnnotations` | Additional pod annotations | `{}` |
115-
| `podLabels` | Additional pod labels | `{}` |
116-
| `resources.limits` | The resources limits for Voltdb containers | `{}` |
117-
| `resources.requests` | The requested resources for Voltdb containers | `{}` |
118-
| `livenessProbe.enabled` | Enable livenessProbe | `true` |
119-
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `30` |
120-
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `30` |
121-
| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `5` |
122-
| `livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `5` |
123-
| `livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` |
124-
| `readinessProbe.enabled` | Enable readinessProbe | `true` |
125-
| `readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `30` |
126-
| `readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` |
127-
| `readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `5` |
128-
| `readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `5` |
129-
| `readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` |
130-
| `startupProbe.enabled` | Enable startupProbe | `false` |
131-
| `startupProbe.initialDelaySeconds` | Initial delay seconds for startupProbe | `0` |
132-
| `startupProbe.periodSeconds` | Period seconds for startupProbe | `10` |
133-
| `startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `5` |
134-
| `startupProbe.failureThreshold` | Failure threshold for startupProbe | `60` |
135-
| `startupProbe.successThreshold` | Success threshold for startupProbe | `1` |
107+
| Name | Description | Value |
108+
| ------------------------------------ | ------------------------------------------------------------------------- | --------------- |
109+
| `replicaCount` | Number of Voltdb replicas | `1` |
110+
| `affinity` | Affinity for pod assignment | `{}` |
111+
| `nodeSelector` | Node labels for pod assignment | `{}` |
112+
| `tolerations` | Tolerations allow Pods to be scheduled on Nodes that have matching taints | `[]` |
113+
| `updateStrategy.type` | Update Strategy for Voltdb statefulset | `RollingUpdate` |
114+
| `podManagementPolicy` | StatefulSet pod management policy | `Parallel` |
115+
| `podAnnotations` | Additional pod annotations | `{}` |
116+
| `podLabels` | Additional pod labels | `{}` |
117+
| `resources.limits` | The resources limits for Voltdb containers | `{}` |
118+
| `resources.requests` | The requested resources for Voltdb containers | `{}` |
119+
| `livenessProbe.enabled` | Enable livenessProbe | `true` |
120+
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `30` |
121+
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `30` |
122+
| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `5` |
123+
| `livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `5` |
124+
| `livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` |
125+
| `readinessProbe.enabled` | Enable readinessProbe | `true` |
126+
| `readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `30` |
127+
| `readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` |
128+
| `readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `5` |
129+
| `readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `5` |
130+
| `readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` |
131+
| `startupProbe.enabled` | Enable startupProbe | `false` |
132+
| `startupProbe.initialDelaySeconds` | Initial delay seconds for startupProbe | `0` |
133+
| `startupProbe.periodSeconds` | Period seconds for startupProbe | `10` |
134+
| `startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `5` |
135+
| `startupProbe.failureThreshold` | Failure threshold for startupProbe | `60` |
136+
| `startupProbe.successThreshold` | Success threshold for startupProbe | `1` |
136137

137138
### RBAC parameters
138139

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
image:
2-
tag: 8.4.1
2+
tag: 8.4.2

charts/voltdb/templates/statefulset.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ spec:
3131
{{- end }}
3232
spec:
3333
nodeSelector: {{- include "common.tplvalues.render" (dict "value" .Values.nodeSelector "context" $) | nindent 8 }}
34+
{{- if .Values.tolerations }}
35+
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.tolerations "context" $) | nindent 8 }}
36+
{{- end }}
3437
{{- include "voltdb.imagePullSecrets" . | nindent 6 }}
3538
serviceAccountName: {{ template "voltdb.serviceAccountName" . }}
3639
{{- if .Values.affinity }}

charts/voltdb/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extraDeploy: []
5151
##
5252
image:
5353
registry: docker.io
54-
repository: voltdb/voltdb-community
54+
repository: basvanbeek/voltdb-community
5555
tag: 9.2.1
5656
## Specify a imagePullPolicy
5757
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -222,6 +222,11 @@ affinity: {}
222222
##
223223
nodeSelector: {}
224224

225+
## @param tolerations Tolerations allow Pods to be scheduled on Nodes that have matching taints
226+
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
227+
##
228+
tolerations: []
229+
225230
## @param updateStrategy.type Update Strategy for Voltdb statefulset
226231
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
227232
##

0 commit comments

Comments
 (0)