diff --git a/garage/kustomization.yaml b/garage/kustomization.yaml index 2ce3287..2a39b25 100644 --- a/garage/kustomization.yaml +++ b/garage/kustomization.yaml @@ -24,6 +24,7 @@ resources: - resources/services.yaml - resources/api_routes.yaml - resources/web_routes.yaml + - resources/pdb.yaml - backup/ configMapGenerator: diff --git a/garage/resources/pdb.yaml b/garage/resources/pdb.yaml new file mode 100644 index 0000000..ce7cbef --- /dev/null +++ b/garage/resources/pdb.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: garage +spec: + maxUnavailable: 1 + selector: + matchLabels: + app.kubernetes.io/name: garage \ No newline at end of file