diff --git a/charts/voltdb/Chart.yaml b/charts/voltdb/Chart.yaml index 60252cd..9d50b0e 100644 --- a/charts/voltdb/Chart.yaml +++ b/charts/voltdb/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: voltdb description: Voltdb helm chart -version: 0.1.0 +version: 0.1.1 appVersion: "9.2.1" keywords: - voltdb diff --git a/charts/voltdb/README.md b/charts/voltdb/README.md index cc0f24c..5b92923 100644 --- a/charts/voltdb/README.md +++ b/charts/voltdb/README.md @@ -104,35 +104,36 @@ The command removes all the Kubernetes components associated with the chart and ### Statefulset parameters -| Name | Description | Value | -| ------------------------------------ | --------------------------------------------- | --------------- | -| `replicaCount` | Number of Voltdb replicas | `1` | -| `affinity` | Affinity for pod assignment | `{}` | -| `nodeSelector` | Node labels for pod assignment | `{}` | -| `updateStrategy.type` | Update Strategy for Voltdb statefulset | `RollingUpdate` | -| `podManagementPolicy` | StatefulSet pod management policy | `Parallel` | -| `podAnnotations` | Additional pod annotations | `{}` | -| `podLabels` | Additional pod labels | `{}` | -| `resources.limits` | The resources limits for Voltdb containers | `{}` | -| `resources.requests` | The requested resources for Voltdb containers | `{}` | -| `livenessProbe.enabled` | Enable livenessProbe | `true` | -| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `30` | -| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `30` | -| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `5` | -| `livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `5` | -| `livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` | -| `readinessProbe.enabled` | Enable readinessProbe | `true` | -| `readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `30` | -| `readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` | -| `readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `5` | -| `readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `5` | -| `readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` | -| `startupProbe.enabled` | Enable startupProbe | `false` | -| `startupProbe.initialDelaySeconds` | Initial delay seconds for startupProbe | `0` | -| `startupProbe.periodSeconds` | Period seconds for startupProbe | `10` | -| `startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `5` | -| `startupProbe.failureThreshold` | Failure threshold for startupProbe | `60` | -| `startupProbe.successThreshold` | Success threshold for startupProbe | `1` | +| Name | Description | Value | +| ------------------------------------ | ------------------------------------------------------------------------- | --------------- | +| `replicaCount` | Number of Voltdb replicas | `1` | +| `affinity` | Affinity for pod assignment | `{}` | +| `nodeSelector` | Node labels for pod assignment | `{}` | +| `tolerations` | Tolerations allow Pods to be scheduled on Nodes that have matching taints | `[]` | +| `updateStrategy.type` | Update Strategy for Voltdb statefulset | `RollingUpdate` | +| `podManagementPolicy` | StatefulSet pod management policy | `Parallel` | +| `podAnnotations` | Additional pod annotations | `{}` | +| `podLabels` | Additional pod labels | `{}` | +| `resources.limits` | The resources limits for Voltdb containers | `{}` | +| `resources.requests` | The requested resources for Voltdb containers | `{}` | +| `livenessProbe.enabled` | Enable livenessProbe | `true` | +| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `30` | +| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `30` | +| `livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `5` | +| `livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `5` | +| `livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` | +| `readinessProbe.enabled` | Enable readinessProbe | `true` | +| `readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `30` | +| `readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` | +| `readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `5` | +| `readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `5` | +| `readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` | +| `startupProbe.enabled` | Enable startupProbe | `false` | +| `startupProbe.initialDelaySeconds` | Initial delay seconds for startupProbe | `0` | +| `startupProbe.periodSeconds` | Period seconds for startupProbe | `10` | +| `startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `5` | +| `startupProbe.failureThreshold` | Failure threshold for startupProbe | `60` | +| `startupProbe.successThreshold` | Success threshold for startupProbe | `1` | ### RBAC parameters diff --git a/charts/voltdb/ci/version-8-values.yaml b/charts/voltdb/ci/version-8-values.yaml index ee44dc8..bdae7d7 100644 --- a/charts/voltdb/ci/version-8-values.yaml +++ b/charts/voltdb/ci/version-8-values.yaml @@ -1,2 +1,2 @@ image: - tag: 8.4.1 + tag: 8.4.2 diff --git a/charts/voltdb/templates/statefulset.yml b/charts/voltdb/templates/statefulset.yml index f560835..06ad587 100644 --- a/charts/voltdb/templates/statefulset.yml +++ b/charts/voltdb/templates/statefulset.yml @@ -31,6 +31,9 @@ spec: {{- end }} spec: nodeSelector: {{- include "common.tplvalues.render" (dict "value" .Values.nodeSelector "context" $) | nindent 8 }} + {{- if .Values.tolerations }} + tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.tolerations "context" $) | nindent 8 }} + {{- end }} {{- include "voltdb.imagePullSecrets" . | nindent 6 }} serviceAccountName: {{ template "voltdb.serviceAccountName" . }} {{- if .Values.affinity }} diff --git a/charts/voltdb/values.yaml b/charts/voltdb/values.yaml index c7d7217..507b138 100644 --- a/charts/voltdb/values.yaml +++ b/charts/voltdb/values.yaml @@ -51,7 +51,7 @@ extraDeploy: [] ## image: registry: docker.io - repository: voltdb/voltdb-community + repository: basvanbeek/voltdb-community tag: 9.2.1 ## Specify a imagePullPolicy ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images @@ -222,6 +222,11 @@ affinity: {} ## nodeSelector: {} +## @param tolerations Tolerations allow Pods to be scheduled on Nodes that have matching taints +## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ +## +tolerations: [] + ## @param updateStrategy.type Update Strategy for Voltdb statefulset ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies ##