forked from FoundationDB/fdb-kubernetes-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpod_disruption_budget.yaml
More file actions
37 lines (37 loc) · 851 Bytes
/
pod_disruption_budget.yaml
File metadata and controls
37 lines (37 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Kubernetes won't deliberately cause an interruption to a ready storage pod if
# that would drop the ready count below 5.
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: sample-cluster-storage
namespace: default
spec:
minAvailable: 5
selector:
matchLabels:
fdb-cluster-name: sample-cluster
fdb-process-class: storage
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: sample-cluster-log
namespace: default
spec:
minAvailable: 3
selector:
matchLabels:
fdb-cluster-name: sample-cluster
fdb-process-class: log
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: sample-cluster-transaction
namespace: default
spec:
minAvailable: 3
selector:
matchLabels:
fdb-cluster-name: sample-cluster
fdb-process-class: transaction