Skip to content

Instantly share code, notes, and snippets.

@martin-g
Created March 24, 2022 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martin-g/c2046be2af0af4a8ee7910c051282bb7 to your computer and use it in GitHub Desktop.
Save martin-g/c2046be2af0af4a8ee7910c051282bb7 to your computer and use it in GitHub Desktop.
A list of PriorityClass-es to be created by an admin. See https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: high
value: 100
---
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: medium
value: 50
---
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: low
value: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment