18 lines
494 B
YAML
18 lines
494 B
YAML
|
|
# infrastructure/modules/base/priorityclass/jenkins.yaml
|
||
|
|
apiVersion: scheduling.k8s.io/v1
|
||
|
|
kind: PriorityClass
|
||
|
|
metadata:
|
||
|
|
name: jenkins-core
|
||
|
|
value: 500
|
||
|
|
globalDefault: false
|
||
|
|
description: "For the Jenkins controller; must outrank the build agents it owns"
|
||
|
|
---
|
||
|
|
apiVersion: scheduling.k8s.io/v1
|
||
|
|
kind: PriorityClass
|
||
|
|
metadata:
|
||
|
|
name: jenkins-agent
|
||
|
|
value: 50
|
||
|
|
globalDefault: false
|
||
|
|
preemptionPolicy: Never
|
||
|
|
description: "For ephemeral Jenkins build agents; lower than the controller and non-preempting"
|