Problem: CoreDNS getting preempted by other pods

Solution: Set priorityClassName to system-node-critical of traefik, metrics-server, local storage and coredns deployment
Signed-off-by: transhapHigsn <fet.prashantsingh@gmail.com>
pull/2551/head
transhapHigsn 2020-11-20 04:13:49 +05:30 committed by Brad Davidson
parent 27e64c72a1
commit 87a43c69e1
5 changed files with 8 additions and 4 deletions

View File

@ -95,6 +95,7 @@ spec:
labels:
k8s-app: kube-dns
spec:
priorityClassName: "system-cluster-critical"
serviceAccountName: coredns
tolerations:
- key: "CriticalAddonsOnly"

View File

@ -50,6 +50,7 @@ spec:
labels:
app: local-path-provisioner
spec:
priorityClassName: "system-node-critical"
serviceAccountName: local-path-provisioner-service-account
tolerations:
- key: "CriticalAddonsOnly"

View File

@ -22,6 +22,7 @@ spec:
labels:
k8s-app: metrics-server
spec:
priorityClassName: "system-node-critical"
serviceAccountName: metrics-server
tolerations:
- key: "CriticalAddonsOnly"

View File

@ -16,6 +16,7 @@ spec:
kubernetes:
ingressEndpoint:
useDefaultPublishedService: true
priorityClassName: "system-cluster-critical"
image: "rancher/library-traefik"
tolerations:
- key: "CriticalAddonsOnly"

File diff suppressed because one or more lines are too long