From 22dec746991d921d8937586b7a107859457ed136 Mon Sep 17 00:00:00 2001 From: Ben Sherman Date: Tue, 30 May 2023 07:16:38 -0700 Subject: [PATCH] fix: volcano resource quota (#10) --- charts/launch-agent/templates/volcano.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/charts/launch-agent/templates/volcano.yaml b/charts/launch-agent/templates/volcano.yaml index a45f04f5..c2199e2d 100644 --- a/charts/launch-agent/templates/volcano.yaml +++ b/charts/launch-agent/templates/volcano.yaml @@ -8,6 +8,25 @@ metadata: kubernetes.io/metadata.name: volcano-system --- apiVersion: v1 +kind: ResourceQuota +metadata: + # annotations: + labels: + addonmanager.kubernetes.io/mode: Reconcile + name: volcano-quota + namespace: volcano-system +spec: + hard: + pods: 1G + scopeSelector: + matchExpressions: + - operator: In + scopeName: PriorityClass + values: + - system-node-critical + - system-cluster-critical +--- +apiVersion: v1 kind: Namespace metadata: name: volcano-monitoring