| gio | 16bb638 | 2025-05-21 18:42:40 +0400 | [diff] [blame^] | 1 | apiVersion: scheduling.k8s.io/v1 |
| 2 | kind: PriorityClass | ||||
| 3 | metadata: | ||||
| 4 | name: "longhorn-critical" | ||||
| 5 | labels: {{- include "longhorn.labels" . | nindent 4 }} | ||||
| 6 | description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" | ||||
| 7 | globalDefault: false | ||||
| 8 | preemptionPolicy: PreemptLowerPriority | ||||
| 9 | value: 1000000000 | ||||