Skip to content

Commit

Permalink
infrastructure: cluster1: kube-dns: Add poddisruptionbudget.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Nov 5, 2024
1 parent 5e826fd commit 6a5d1e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/cluster1/kube-dns/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Kustomization
namespace: kube-system
resources:
- ../../base/kube-dns
- poddisruptionbudget.yaml
patchesStrategicMerge:
- deployment.yaml
- service.yaml
9 changes: 9 additions & 0 deletions infrastructure/cluster1/kube-dns/poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: coredns
spec:
minAvailable: 1
selector:
matchLabels:
k8s-app: kube-dns

0 comments on commit 6a5d1e3

Please sign in to comment.