diff --git a/ceph/templates/pdb-mon.yaml b/ceph/templates/pdb-mon.yaml new file mode 100644 index 0000000000..9852700e95 --- /dev/null +++ b/ceph/templates/pdb-mon.yaml @@ -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 \ No newline at end of file diff --git a/ceph/values.yaml b/ceph/values.yaml index a18d6f4216..ade9681e81 100644 --- a/ceph/values.yaml +++ b/ceph/values.yaml @@ -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: