Skip to content

Commit 442b111

Browse files
committed
Set root queue capability through helm
When the hierarchy plugin is enabled, the capability check can fail: #4350 It will pass now, if the capability is set properly: #4354 We should be able to set this value for the root queue through helm too. Signed-off-by: Hajnal Máté <hajnalmt@gmail.com>
1 parent bc0df8e commit 442b111

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: scheduling.volcano.sh/v1beta1
2+
kind: Queue
3+
metadata:
4+
name: root
5+
spec:
6+
capability:
7+
{{- toYaml .Values.custom.root_queue.capability | nindent 4 }}
8+
reclaimable: {{ .Values.custom.root_queue.reclaimable | default false }}
9+
weight: {{ .Values.custom.root_queue.weight | default 1 }}

installer/helm/chart/volcano/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ custom:
224224
drop: [ "ALL" ]
225225
allowPrivilegeEscalation: false
226226

227+
# Specify root Queue capability
228+
root_queue:
229+
capability: ~
230+
reclaimable: false
231+
weight: 1
232+
227233
# Specify agent cni config path.
228234
agent_cni_config_path: /etc/cni/net.d/cni.conflist
229235

0 commit comments

Comments
 (0)