rancher-charts/charts/longhorn/102.4.2+up1.6.3/templates/priorityclass.yaml

10 lines
371 B
YAML
Raw Normal View History

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