commit 1c932f1556582978f313e4b1b48f75b42e64150a parent 7124d5730a8d847aa0c344b0c79d45775b10a0f5 Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 26 Mar 2023 16:02:57 +0200 Add priority classes for docker-registry and gitea Diffstat:
| M | infrastructure/configs/kustomization.yaml | | | 1 | + |
| A | infrastructure/configs/priority-classes.yaml | | | 16 | ++++++++++++++++ |
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/infrastructure/configs/kustomization.yaml b/infrastructure/configs/kustomization.yaml @@ -3,3 +3,4 @@ kind: Kustomization resources: - cluster-issuers.yaml - flux-grafana.yaml + - priority-classes.yaml diff --git a/infrastructure/configs/priority-classes.yaml b/infrastructure/configs/priority-classes.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: scheduling.k8s.io/v1 +kind: PriorityClass +metadata: + name: docker-registry +value: 1900000000 +globalDefault: false +description: "This priority class should be used for things related to the docker registry only. It runs after cluster-critical stuff." +--- +apiVersion: scheduling.k8s.io/v1 +kind: PriorityClass +metadata: + name: gitea +value: 1800000000 +globalDefault: false +description: "This priority class should be used for things related to the gitea instance only. It contains the configurations and therefor is highly important."