Add pod disruption budget for ceph

This adds default pod disruption budgets for ceph mons

Change-Id: I4a85140aea2a532bc073d97c7b985c7f61205a6d
This commit is contained in:
Larry Rensing 2017-05-18 14:35:01 +00:00
parent 9e3486380f
commit 96e827e6b7
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,10 @@
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: ceph-mon
spec:
minAvailable: {{ .Values.pod_disruption_budget.mon.min_available }}
selector:
matchLabels:
app: ceph
daemon: mon

View File

@ -29,6 +29,10 @@ labels:
node_selector_key: ceph-storage
node_selector_value: enabled
pod_disruption_budget:
mon:
min_available: 0
network:
public: "10.25.0.0/16"
port: