Last active
December 16, 2018 10:01
-
-
Save yyyyahir/469743292c755ea30030d634dab5d7b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creates a Pod Disruption Budget for disruptable kube-system pods. | |
# | |
# Shorturl: https://git.io/fpNzS | |
# $ kubectl apply -f https://git.io/fpNzS | |
apiVersion: policy/v1beta1 | |
kind: PodDisruptionBudget | |
metadata: | |
name: kube-system-pdb | |
spec: | |
minAvailable: 1 | |
selector: | |
matchExpressions: | |
- {key: k8s-app, operator: In, values: [fluentd-gcp, kube-dns] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment