mirror of https://git.rancher.io/charts
10 lines
371 B
YAML
10 lines
371 B
YAML
apiVersion: scheduling.k8s.io/v1
|
|
kind: PriorityClass
|
|
metadata:
|
|
name: "longhorn-critical"
|
|
labels: {{- include "longhorn.labels" . | nindent 4 }}
|
|
description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure"
|
|
globalDefault: false
|
|
preemptionPolicy: PreemptLowerPriority
|
|
value: 1000000000
|