Skip to content

Commit

Permalink
Add opportunistic and nice PriorityClasses
Browse files Browse the repository at this point in the history
  • Loading branch information
sfiligoi committed Feb 22, 2019
1 parent 251a90d commit 4ef41ad
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions priorities.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: scheduling.k8s.io/v1beta1
kind: PriorityClass
metadata:
name: opportunistic
value: -2000000000
globalDefault: false
description: "Used for pods that can be preempted by any other pod."
---
apiVersion: scheduling.k8s.io/v1beta1
kind: PriorityClass
metadata:
name: nice
value: -10
globalDefault: false
description: "Used for pods that can tolerate occasional preemption"

0 comments on commit 4ef41ad

Please sign in to comment.