diff --git a/apps/k8s01/nextcloud/kustomization.yaml b/apps/k8s01/nextcloud/kustomization.yaml index 480206389af4bfe13808e5e671ae10c4b92ca0b3..8d22cc8dfbf4894f30312e9636feabc937a7d3e5 100644 --- a/apps/k8s01/nextcloud/kustomization.yaml +++ b/apps/k8s01/nextcloud/kustomization.yaml @@ -5,6 +5,7 @@ resources: - ../../base/nextcloud - certificate.yaml - nextcloud-values.yaml + - pdb.yaml - slo.yaml - ../../../shared/resourcequotas/default.yaml patchesStrategicMerge: diff --git a/apps/k8s01/nextcloud/pdb.yaml b/apps/k8s01/nextcloud/pdb.yaml new file mode 100644 index 0000000000000000000000000000000000000000..09a0aa8d07f4a039a7403796aed667d44c25c8df --- /dev/null +++ b/apps/k8s01/nextcloud/pdb.yaml @@ -0,0 +1,11 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: nextcloud-app +spec: + minAvailable: 1 + selector: + matchLabels: + app.kubernetes.io/component: app + app.kubernetes.io/instance: nextcloud + app.kubernetes.io/name: nextcloud