Merge "Adding pod disruption budget for glance"
This commit is contained in:
commit
d2de9550f0
9
glance/templates/pdb-api.yaml
Normal file
9
glance/templates/pdb-api.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: glance-api
|
||||
spec:
|
||||
minAvailable: {{ .Values.pod_disruption_budget.api.min_available }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: glance-api
|
9
glance/templates/pdb-registry.yaml
Normal file
9
glance/templates/pdb-registry.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: glance-registry
|
||||
spec:
|
||||
minAvailable: {{ .Values.pod_disruption_budget.registry.min_available }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: glance-registry
|
@ -45,6 +45,12 @@ upgrades:
|
||||
max_unavailable: 1
|
||||
max_surge: 3
|
||||
|
||||
pod_disruption_budget:
|
||||
api:
|
||||
min_available: 1
|
||||
registry:
|
||||
min_available: 1
|
||||
|
||||
bootstrap:
|
||||
enabled: true
|
||||
images:
|
||||
|
Loading…
x
Reference in New Issue
Block a user