Skip to content

Commit 592d443

Browse files
authored
Update pod-disruption-budget.md
add missing PDB for master nodes
1 parent 7a56a71 commit 592d443

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

deploy-manage/deploy/cloud-on-k8s/pod-disruption-budget.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,17 @@ spec:
102102
node.roles: ["data_hot", "data_content", "ingest"]
103103
node.store.allow_mmap: false
104104
105+
apiVersion: policy/v1
106+
kind: PodDisruptionBudget
107+
metadata:
108+
name: master-nodes-pdb
109+
spec:
110+
minAvailable: 2 <2>
111+
selector:
112+
matchLabels:
113+
elasticsearch.k8s.elastic.co/cluster-name: quickstart <3>
114+
elasticsearch.k8s.elastic.co/statefulset-name: quickstart-es-master <4>
115+
105116
apiVersion: policy/v1
106117
kind: PodDisruptionBudget
107118
metadata:

0 commit comments

Comments
 (0)