Merge 56893593e4
into c87de40c6e
This commit is contained in:
commit
db6bc318a5
|
@ -29,7 +29,7 @@ spec:
|
||||||
- nginx-pdb
|
- nginx-pdb
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
---
|
---
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: nginx-pdb
|
name: nginx-pdb
|
||||||
|
|
|
@ -13,7 +13,7 @@ Defining a “Pod Disruption Budget” helps Kubernetes manage your pods when a
|
||||||
A `PDB` is configured as this:
|
A `PDB` is configured as this:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: nginx-pdb
|
name: nginx-pdb
|
||||||
|
|
Loading…
Reference in New Issue