Skip to content

Commit be8f992

Browse files
authored
Add PodDisruptionBudget (#510)
1 parent 6a15d4b commit be8f992

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/examples/production-ready/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ You can deploy this example like this:
1212

1313
```shell
1414
kubectl apply -f rabbitmq.yaml
15+
kubectl apply -f pod-disruption-budget.yaml
1516
```
1617

1718
Please keep in mind that you need a multi-zone Kubernetes cluster with 12 CPUs, 30Gi RAM, 1.5Ti disk space available as well as a `storageClass` called `ssd` to deploy this example as-is. Of course you can adjust these values to your environment if needed.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: policy/v1beta1
2+
kind: PodDisruptionBudget
3+
metadata:
4+
name: production-ready-rabbitmq
5+
spec:
6+
maxUnavailable: 1
7+
selector:
8+
matchLabels:
9+
app.kubernetes.io/name: production-ready

0 commit comments

Comments
 (0)