deployment, daemonset and statefulset¶
You can chose between
statefulset by changing the follwing value to
chart: ... deployment: true
chart: ... daemonset: true
chart: ... statefulset: true
ohMyHelm versions <=
1.14.0used a single boolean value to switch between
deployment. For backwards compatibility, we also support this in our current ohMyHelm charts.
# This create a deployment chart: ... statefulset: false
# This create a statefulset chart: ... statefulset: true
Depending on your choice, you need to modify your values in
chart: ... # if deployment: true deploymentVolume: volumeMounts: - name: foo ... volumes: - name: foo2 ... # if daemonset: true daemonsetVolume: volumeMounts: - name: foo ... volumes: - name: foo2 ... # if statefulset: true statefulsetVolume: volumeMounts: - name: foo ... volumeClaimTemplates: - name: bar ... volumes: - name: foo2 ...
Last update: July 26, 2022