Skip to content

Commit

Permalink
add pod disruption budget for csi controller
Browse files Browse the repository at this point in the history
  • Loading branch information
vdhanan authored and Varun Dhananjaya committed Mar 12, 2021
1 parent ee3b46c commit ed088a7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions deploy/kubernetes/base/controller-poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions deploy/kubernetes/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resources:
- clusterrolebinding-attacher.yaml
- clusterrolebinding-provisioner.yaml
- controller.yaml
- controller-poddisruptionbudget.yaml
- csidriver.yaml
- node.yaml
- serviceaccount-csi-controller.yaml
Expand Down

0 comments on commit ed088a7

Please sign in to comment.