Skip to content

Commit

Permalink
🎩 add pdb for minio, mysql 🎩
Browse files Browse the repository at this point in the history
  • Loading branch information
eformat committed Dec 9, 2020
1 parent 7bf57eb commit bf41fc8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions minio/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ kind: Kustomization
resources:
- minio-createbucket.yaml
- minio.yaml
- pdb.yaml
12 changes: 12 additions & 0 deletions minio/base/pdb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: curriki-s3
labels:
app: curriki-s3
spec:
minAvailable: 1
selector:
matchLabels:
app: curriki-s3
1 change: 1 addition & 0 deletions mysql/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ resources:
- secret.yaml
- service.yaml
- deployment.yaml
- pdb.yaml
12 changes: 12 additions & 0 deletions mysql/base/pdb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: mysql
labels:
app: mysql
spec:
minAvailable: 1
selector:
matchLabels:
app: mysql

0 comments on commit bf41fc8

Please sign in to comment.