Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
add podManagementPolicy param to enable parallel deploy (#72)
Browse files Browse the repository at this point in the history
Signed-off-by: Zain Malik <[email protected]>
  • Loading branch information
zmalik authored Apr 2, 2020
1 parent 0371979 commit b74e693
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions operator/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -864,3 +864,7 @@ parameters:
- name: CUSTOM_JVM_OPTIONS_BASE64
description: "Base64-encoded JVM options appended to jvm.options."
default: ""

- name: POD_MANAGEMENT_POLICY
description: "podManagementPolicy of the Cassandra Statefulset"
default: "OrderedReady"
1 change: 1 addition & 0 deletions operator/templates/stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
{{ else }}
replicas: {{ $.Params.NODE_COUNT }}
{{ end }}
podManagementPolicy: {{ $.Params.POD_MANAGEMENT_POLICY }}
template:
metadata:
labels:
Expand Down
4 changes: 4 additions & 0 deletions templates/operator/params.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -864,3 +864,7 @@ parameters:
- name: CUSTOM_JVM_OPTIONS_BASE64
description: "Base64-encoded JVM options appended to jvm.options."
default: ""

- name: POD_MANAGEMENT_POLICY
description: "podManagementPolicy of the Cassandra Statefulset"
default: "OrderedReady"
1 change: 1 addition & 0 deletions templates/operator/templates/stateful-set.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
{{ else }}
replicas: {{ $.Params.NODE_COUNT }}
{{ end }}
podManagementPolicy: {{ $.Params.POD_MANAGEMENT_POLICY }}
template:
metadata:
labels:
Expand Down

0 comments on commit b74e693

Please sign in to comment.