Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
fix: promote system addons to system-cluster-critical (#2533)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis authored and acs-bot committed Jan 8, 2020
1 parent 17099c5 commit 02bc287
Show file tree
Hide file tree
Showing 13 changed files with 76 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: aad-pod-id-nmi-service-account
namespace: default
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
Expand Down Expand Up @@ -76,7 +76,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: aad-pod-id-nmi-service-account
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: aad-pod-id-nmi-role
Expand All @@ -92,7 +92,7 @@ metadata:
tier: node
k8s-app: aad-pod-id
name: nmi
namespace: default
namespace: kube-system
spec:
selector:
matchLabels:
Expand All @@ -104,6 +104,7 @@ spec:
component: nmi
tier: node
spec:
priorityClassName: system-cluster-critical
serviceAccountName: aad-pod-id-nmi-service-account
hostNetwork: true
containers:
Expand Down Expand Up @@ -141,7 +142,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: aad-pod-id-mic-service-account
namespace: default
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
Expand Down Expand Up @@ -181,7 +182,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: aad-pod-id-mic-service-account
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: aad-pod-id-mic-role
Expand All @@ -196,7 +197,7 @@ metadata:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
name: mic
namespace: default
namespace: kube-system
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
name: blobfuse
kubernetes.io/cluster-service: "true"
spec:
priorityClassName: system-cluster-critical
containers:
- name: blobfuse-flexvol-installer
image: {{ContainerImage "blobfuse-flexvolume"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
priorityClassName: system-cluster-critical
tolerations:
containers:
- name: keyvault-flexvolume
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: aad-pod-id-nmi-service-account
namespace: default
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
Expand Down Expand Up @@ -76,7 +76,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: aad-pod-id-nmi-service-account
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: aad-pod-id-nmi-role
Expand All @@ -92,7 +92,7 @@ metadata:
tier: node
k8s-app: aad-pod-id
name: nmi
namespace: default
namespace: kube-system
spec:
selector:
matchLabels:
Expand All @@ -106,6 +106,7 @@ spec:
annotations:
cluster-autoscaler.kubernetes.io/daemonset-pod: "true"
spec:
priorityClassName: system-cluster-critical
serviceAccountName: aad-pod-id-nmi-service-account
hostNetwork: true
containers:
Expand Down Expand Up @@ -143,7 +144,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: aad-pod-id-mic-service-account
namespace: default
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
Expand Down Expand Up @@ -183,7 +184,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: aad-pod-id-mic-service-account
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: aad-pod-id-mic-role
Expand All @@ -198,7 +199,7 @@ metadata:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
name: mic
namespace: default
namespace: kube-system
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
annotations:
cluster-autoscaler.kubernetes.io/daemonset-pod: "true"
spec:
priorityClassName: system-cluster-critical
containers:
- name: blobfuse-flexvol-installer
image: {{ContainerImage "blobfuse-flexvolume"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
annotations:
cluster-autoscaler.kubernetes.io/daemonset-pod: "true"
spec:
priorityClassName: system-cluster-critical
tolerations:
containers:
- name: keyvault-flexvolume
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: aad-pod-id-nmi-service-account
namespace: default
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
Expand Down Expand Up @@ -76,7 +76,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: aad-pod-id-nmi-service-account
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: aad-pod-id-nmi-role
Expand All @@ -92,7 +92,7 @@ metadata:
tier: node
k8s-app: aad-pod-id
name: nmi
namespace: default
namespace: kube-system
spec:
selector:
matchLabels:
Expand All @@ -106,6 +106,7 @@ spec:
annotations:
cluster-autoscaler.kubernetes.io/daemonset-pod: "true"
spec:
priorityClassName: system-cluster-critical
serviceAccountName: aad-pod-id-nmi-service-account
hostNetwork: true
containers:
Expand Down Expand Up @@ -143,7 +144,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: aad-pod-id-mic-service-account
namespace: default
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
Expand Down Expand Up @@ -183,7 +184,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: aad-pod-id-mic-service-account
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: aad-pod-id-mic-role
Expand All @@ -198,7 +199,7 @@ metadata:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
name: mic
namespace: default
namespace: kube-system
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
annotations:
cluster-autoscaler.kubernetes.io/daemonset-pod: "true"
spec:
priorityClassName: system-cluster-critical
containers:
- name: blobfuse-flexvol-installer
image: {{ContainerImage "blobfuse-flexvolume"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
annotations:
cluster-autoscaler.kubernetes.io/daemonset-pod: "true"
spec:
priorityClassName: system-cluster-critical
tolerations:
containers:
- name: keyvault-flexvolume
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: aad-pod-id-nmi-service-account
namespace: default
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
Expand Down Expand Up @@ -76,7 +76,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: aad-pod-id-nmi-service-account
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: aad-pod-id-nmi-role
Expand All @@ -92,14 +92,15 @@ metadata:
tier: node
k8s-app: aad-pod-id
name: nmi
namespace: default
namespace: kube-system
spec:
template:
metadata:
labels:
component: nmi
tier: node
spec:
priorityClassName: system-cluster-critical
serviceAccountName: aad-pod-id-nmi-service-account
hostNetwork: true
containers:
Expand Down Expand Up @@ -137,7 +138,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: aad-pod-id-mic-service-account
namespace: default
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
Expand Down Expand Up @@ -177,7 +178,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: aad-pod-id-mic-service-account
namespace: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: aad-pod-id-mic-role
Expand All @@ -192,7 +193,7 @@ metadata:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
name: mic
namespace: default
namespace: kube-system
spec:
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
name: blobfuse
kubernetes.io/cluster-service: "true"
spec:
priorityClassName: system-cluster-critical
containers:
- name: blobfuse-flexvol-installer
image: {{ContainerImage "blobfuse-flexvolume"}}
Expand All @@ -31,11 +32,11 @@ spec:
- name: volplugins
mountPath: /etc/kubernetes/volumeplugins/
- name: varlog
mountPath: /var/log/
mountPath: /var/log/
volumes:
- name: varlog
hostPath:
path: /var/log/
path: /var/log/
- name: volplugins
hostPath:
path: /etc/kubernetes/volumeplugins/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
priorityClassName: system-cluster-critical
tolerations:
containers:
- name: keyvault-flexvolume
Expand Down
Loading

0 comments on commit 02bc287

Please sign in to comment.