Skip to content

Commit

Permalink
fix: revert PodDisruptionBudget definitions (Azure#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis authored and Justin Hackett committed Mar 14, 2019
1 parent 8b293e1 commit daa1e8c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 83 deletions.
13 changes: 0 additions & 13 deletions parts/k8s/addons/coredns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,19 +180,6 @@ spec:
- key: Corefile
path: Corefile
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: coredns
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: EnsureExists
spec:
minAvailable: 50%
selector:
matchLabels:
k8s-app: kube-dns
---
apiVersion: v1
kind: Service
metadata:
Expand Down
30 changes: 0 additions & 30 deletions parts/k8s/addons/kubernetesmasteraddons-calico-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,21 +252,6 @@ spec:

---

apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: calico-typha
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: EnsureExists
spec:
minAvailable: 0%
selector:
matchLabels:
k8s-app: calico-typha

---

# Typha Horizontal Autoscaler Cluster Role
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -371,21 +356,6 @@ spec:

---

apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: calico-typha-horizontal-autoscaler
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: "EnsureExists"
spec:
minAvailable: 0%
selector:
matchLabels:
k8s-app: calico-typha-autoscaler

---

# Typha Horizontal Autoscaler Role
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,3 @@ spec:
serviceAccountName: kubernetes-dashboard
nodeSelector:
beta.kubernetes.io/os: linux
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: kubernetes-dashboard
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: EnsureExists
spec:
minAvailable: 0%
selector:
matchLabels:
k8s-app: kubernetes-dashboard
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,6 @@ spec:
nodeSelector:
beta.kubernetes.io/os: linux
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: metrics-server
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: EnsureExists
spec:
minAvailable: 0%
selector:
matchLabels:
k8s-app: metrics-server
---
apiVersion: apiregistration.k8s.io/v1beta1
kind: APIService
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,3 @@ spec:
memory: {{ContainerMemLimits "tiller"}}
nodeSelector:
beta.kubernetes.io/os: linux
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: tiller
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: EnsureExists
spec:
minAvailable: 0%
selector:
matchLabels:
app: helm
name: tiller

0 comments on commit daa1e8c

Please sign in to comment.