swap over to statefulset
This commit is contained in:
parent
d67d15fcf3
commit
03647907be
6 changed files with 203 additions and 64 deletions
13
manifests/postgres/poddisruptionbudget.yaml
Normal file
13
manifests/postgres/poddisruptionbudget.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
# poddisruptbudget to ensure avail during voluntary disruption
|
||||
apiVersion: policy/v1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: postgres-pdb
|
||||
namespace: darkdork-dev
|
||||
spec:
|
||||
minAvailable: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: postgres
|
||||
---
|
||||
Loading…
Add table
Add a link
Reference in a new issue