diff --git a/charts/aws-ebs-csi-driver/templates/controller-poddisruptionbudget.yaml b/charts/aws-ebs-csi-driver/templates/controller-poddisruptionbudget.yaml new file mode 100644 index 0000000000..055dace9b8 --- /dev/null +++ b/charts/aws-ebs-csi-driver/templates/controller-poddisruptionbudget.yaml @@ -0,0 +1,11 @@ +--- +kind: PodDisruptionBudget +apiVersion: policy/v1beta1 +metadata: + name: ebs-csi-controller-pod-disruption-budget + namespace: kube-system +spec: + minAvailable: 1 + selector: + matchLabels: + app: ebs-csi-controller diff --git a/deploy/kubernetes/base/controller-poddisruptionbudget.yaml b/deploy/kubernetes/base/controller-poddisruptionbudget.yaml new file mode 100644 index 0000000000..055dace9b8 --- /dev/null +++ b/deploy/kubernetes/base/controller-poddisruptionbudget.yaml @@ -0,0 +1,11 @@ +--- +kind: PodDisruptionBudget +apiVersion: policy/v1beta1 +metadata: + name: ebs-csi-controller-pod-disruption-budget + namespace: kube-system +spec: + minAvailable: 1 + selector: + matchLabels: + app: ebs-csi-controller diff --git a/deploy/kubernetes/base/kustomization.yaml b/deploy/kubernetes/base/kustomization.yaml index b56941c7be..69675ce55e 100644 --- a/deploy/kubernetes/base/kustomization.yaml +++ b/deploy/kubernetes/base/kustomization.yaml @@ -7,6 +7,7 @@ resources: - clusterrolebinding-attacher.yaml - clusterrolebinding-provisioner.yaml - controller.yaml +- controller-poddisruptionbudget.yaml - csidriver.yaml - node.yaml - serviceaccount-csi-controller.yaml