Commit 87a43c69 authored by transhapHigsn's avatar transhapHigsn Committed by Brad Davidson

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: 's avatartranshapHigsn <fet.prashantsingh@gmail.com>
parent 27e64c72
......@@ -95,6 +95,7 @@ spec:
labels:
k8s-app: kube-dns
spec:
priorityClassName: "system-cluster-critical"
serviceAccountName: coredns
tolerations:
- key: "CriticalAddonsOnly"
......
......@@ -50,6 +50,7 @@ spec:
labels:
app: local-path-provisioner
spec:
priorityClassName: "system-node-critical"
serviceAccountName: local-path-provisioner-service-account
tolerations:
- key: "CriticalAddonsOnly"
......
......@@ -22,6 +22,7 @@ spec:
labels:
k8s-app: metrics-server
spec:
priorityClassName: "system-node-critical"
serviceAccountName: metrics-server
tolerations:
- key: "CriticalAddonsOnly"
......
......@@ -16,6 +16,7 @@ spec:
kubernetes:
ingressEndpoint:
useDefaultPublishedService: true
priorityClassName: "system-cluster-critical"
image: "rancher/library-traefik"
tolerations:
- key: "CriticalAddonsOnly"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment