diff --git a/installer/helm/chart/volcano/templates/root_queue.yaml b/installer/helm/chart/volcano/templates/root_queue.yaml new file mode 100644 index 0000000000..f9df0a0f0a --- /dev/null +++ b/installer/helm/chart/volcano/templates/root_queue.yaml @@ -0,0 +1,9 @@ +apiVersion: scheduling.volcano.sh/v1beta1 +kind: Queue +metadata: + name: root +spec: + capability: + {{- toYaml .Values.custom.root_queue.capability | nindent 4 }} + reclaimable: {{ .Values.custom.root_queue.reclaimable | default false }} + weight: {{ .Values.custom.root_queue.weight | default 1 }} diff --git a/installer/helm/chart/volcano/values.yaml b/installer/helm/chart/volcano/values.yaml index d6ca8a050c..a91d7c1b8e 100644 --- a/installer/helm/chart/volcano/values.yaml +++ b/installer/helm/chart/volcano/values.yaml @@ -224,6 +224,12 @@ custom: drop: [ "ALL" ] allowPrivilegeEscalation: false + # Specify root Queue capability + root_queue: + capability: ~ + reclaimable: false + weight: 1 + # Specify agent cni config path. agent_cni_config_path: /etc/cni/net.d/cni.conflist