Skip to content
Snippets Groups Projects
Verified Commit 00ef1a28 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(longhorn): Add priorityClass to critical components

This patch should help to make sure that longhorn gets the priority
scheduling in the cluster.

References:
https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass
https://longhorn.io/docs/1.2.3/references/settings/#priority-class
parent 9df5ce88
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,10 @@ spec: ...@@ -23,6 +23,10 @@ spec:
systemDefaultRegistry: docker.io systemDefaultRegistry: docker.io
persistence: persistence:
defaultClassReplicaCount: 2 defaultClassReplicaCount: 2
longhornManager:
priorityClass: system-cluster-critical
longhornDriver:
priorityClass: system-cluster-critical
postRenderers: postRenderers:
# Instruct helm-controller to use built-in "kustomize" post renderer. # Instruct helm-controller to use built-in "kustomize" post renderer.
- kustomize: - kustomize:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment