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