This repository was archived by the owner on Jul 24, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ metadata:
44 name : glance-api
55spec :
66 replicas : {{ .Values.replicas }}
7+ revisionHistoryLimit : {{ .Values.upgrades.revision_history }}
8+ strategy :
9+ type : {{ .Values.upgrades.pod_replacement_strategy }}
10+ {{ if eq .Values.upgrades.pod_replacement_strategy "RollingUpdate" }}
11+ rollingUpdate :
12+ maxUnavailable : {{ .Values.upgrades.rolling_update.max_unavailable }}
13+ maxSurge : {{ .Values.upgrades.rolling_update.max_surge }}
14+ {{ end }}
715 template :
816 metadata :
917 labels :
3745 spec :
3846 nodeSelector :
3947 {{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
48+
4049 containers :
4150 - name : glance-api
4251 image : {{ .Values.images.api }}
Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ images:
1717 post : quay.io/stackanetes/stackanetes-kolla-toolbox:newton
1818 pull_policy : " IfNotPresent"
1919
20+ upgrades :
21+ revision_history : 3
22+ pod_replacement_strategy : RollingUpdate
23+ rolling_update :
24+ max_unavailable : 1
25+ max_surge : 3
26+
2027keystone :
2128 auth_uri : " http://keystone-api:5000"
2229 auth_url : " http://keystone-api:35357"
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ metadata:
44 name : horizon
55spec :
66 replicas : {{ .Values.replicas }}
7+ revisionHistoryLimit : {{ .Values.upgrades.revision_history }}
8+ strategy :
9+ type : {{ .Values.upgrades.pod_replacement_strategy }}
10+ {{ if eq .Values.upgrades.pod_replacement_strategy "RollingUpdate" }}
11+ rollingUpdate :
12+ maxUnavailable : {{ .Values.upgrades.rolling_update.max_unavailable }}
13+ maxSurge : {{ .Values.upgrades.rolling_update.max_surge }}
14+ {{ end }}
715 template :
816 metadata :
917 labels :
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ images:
1010 horizon : quay.io/stackanetes/stackanetes-horizon:newton
1111 pull_policy : " IfNotPresent"
1212
13+ upgrades :
14+ revision_history : 3
15+ pod_replacement_strategy : RollingUpdate
16+ rolling_update :
17+ max_unavailable : 1
18+ max_surge : 3
19+
1320labels :
1421 node_selector_key : openstack-control-plane
1522 node_selector_value : enabled
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ metadata:
44 name : keystone-api
55spec :
66 replicas : {{ .Values.replicas }}
7+ revisionHistoryLimit : {{ .Values.upgrades.revision_history }}
8+ strategy :
9+ type : {{ .Values.upgrades.pod_replacement_strategy }}
10+ {{ if eq .Values.upgrades.pod_replacement_strategy "RollingUpdate" }}
11+ rollingUpdate :
12+ maxUnavailable : {{ .Values.upgrades.rolling_update.max_unavailable }}
13+ maxSurge : {{ .Values.upgrades.rolling_update.max_surge }}
14+ {{ end }}
715 template :
816 metadata :
917 labels :
Original file line number Diff line number Diff line change @@ -16,6 +16,13 @@ images:
1616 entrypoint : quay.io/stackanetes/kubernetes-entrypoint:v0.1.0
1717 pull_policy : " IfNotPresent"
1818
19+ upgrades :
20+ revision_history : 3
21+ pod_replacement_strategy : RollingUpdate
22+ rolling_update :
23+ max_unavailable : 1
24+ max_surge : 3
25+
1926keystone :
2027 version : v3
2128 scheme : http
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ metadata:
44 name : memcached
55spec :
66 replicas : {{ .Values.resources.memcached.replicas }}
7+ revisionHistoryLimit : {{ .Values.upgrades.revision_history }}
8+ strategy :
9+ type : {{ .Values.upgrades.pod_replacement_strategy }}
10+ {{ if eq .Values.upgrades.pod_replacement_strategy "RollingUpdate" }}
11+ rollingUpdate :
12+ maxUnavailable : {{ .Values.upgrades.rolling_update.max_unavailable }}
13+ maxSurge : {{ .Values.upgrades.rolling_update.max_surge }}
14+ {{ end }}
715 template :
816 metadata :
917 labels :
Original file line number Diff line number Diff line change 77 memcached : quay.io/stackanetes/stackanetes-memcached:newton
88 pull_policy : " IfNotPresent"
99
10+ upgrades :
11+ revision_history : 3
12+ pod_replacement_strategy : RollingUpdate
13+ rolling_update :
14+ max_unavailable : 1
15+ max_surge : 3
16+
1017labels :
1118 node_selector_key : openstack-control-plane
1219 node_selector_value : enabled
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ metadata:
44 name : neutron-server
55spec :
66 replicas : {{ .Values.replicas.server }}
7+ revisionHistoryLimit : {{ .Values.upgrades.revision_history }}
8+ strategy :
9+ type : {{ .Values.upgrades.pod_replacement_strategy }}
10+ {{ if eq .Values.upgrades.pod_replacement_strategy "RollingUpdate" }}
11+ rollingUpdate :
12+ maxUnavailable : {{ .Values.upgrades.rolling_update.max_unavailable }}
13+ maxSurge : {{ .Values.upgrades.rolling_update.max_surge }}
14+ {{ end }}
715 template :
816 metadata :
917 labels :
Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ images:
2020 entrypoint : quay.io/stackanetes/kubernetes-entrypoint:v0.1.0
2121 pull_policy : " IfNotPresent"
2222
23+ upgrades :
24+ revision_history : 3
25+ pod_replacement_strategy : RollingUpdate
26+ rolling_update :
27+ max_unavailable : 1
28+ max_surge : 3
29+
2330labels :
2431 # ovs is a special case, requiring a special
2532 # label that can apply to both control hosts
You can’t perform that action at this time.
0 commit comments