diff --git a/minio/base/kustomization.yaml b/minio/base/kustomization.yaml index 042d780..d5fdf47 100644 --- a/minio/base/kustomization.yaml +++ b/minio/base/kustomization.yaml @@ -5,3 +5,4 @@ kind: Kustomization resources: - minio-createbucket.yaml - minio.yaml +- pdb.yaml diff --git a/minio/base/pdb.yaml b/minio/base/pdb.yaml new file mode 100644 index 0000000..831be1c --- /dev/null +++ b/minio/base/pdb.yaml @@ -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 diff --git a/mysql/base/kustomization.yaml b/mysql/base/kustomization.yaml index bfdbda4..bee9eb5 100644 --- a/mysql/base/kustomization.yaml +++ b/mysql/base/kustomization.yaml @@ -7,3 +7,4 @@ resources: - secret.yaml - service.yaml - deployment.yaml +- pdb.yaml diff --git a/mysql/base/pdb.yaml b/mysql/base/pdb.yaml new file mode 100644 index 0000000..6324419 --- /dev/null +++ b/mysql/base/pdb.yaml @@ -0,0 +1,12 @@ +--- +apiVersion: policy/v1beta1 +kind: PodDisruptionBudget +metadata: + name: mysql + labels: + app: mysql +spec: + minAvailable: 1 + selector: + matchLabels: + app: mysql