1"use strict";(globalThis.webpackChunkdocs_site=globalThis.webpackChunkdocs_site||[]).push([[854],{12200(e,n,i){i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>t,default:()=>c,frontMatter:()=>o,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"UserGuide/user_guide_how_to_use_nodegroup_plugin","title":"Nodegroup Plugin User Guide","description":"Introduction","source":"@site/versioned_docs/version-v1.15.0/UserGuide/user_guide_how_to_use_nodegroup_plugin.md","sourceDirName":"UserGuide","slug":"/UserGuide/user_guide_how_to_use_nodegroup_plugin","permalink":"/docs/v1.15.0/UserGuide/user_guide_how_to_use_nodegroup_plugin","draft":false,"unlisted":false,"editUrl":"https://github.com/volcano-sh/website/tree/master/versioned_docs/version-v1.15.0/UserGuide/user_guide_how_to_use_nodegroup_plugin.md","tags":[],"version":"v1.15.0","lastUpdatedAt":1781163901000,"frontMatter":{"title":"Nodegroup Plugin User Guide"},"sidebar":"docsSidebar","previous":{"title":"Network Topology Aware Scheduling User Guide","permalink":"/docs/v1.15.0/UserGuide/user_guide_how_to_use_network_topology_aware_scheduling"},"next":{"title":"NUMA Aware User Guide","permalink":"/docs/v1.15.0/UserGuide/user_guide_how_to_use_numa_aware"}}');var s=i(74848),a=i(28453);const o={title:"Nodegroup Plugin User Guide"},t=void 0,d={},l=[{value:"Introduction",id:"introduction",level:2},{value:"Usage",id:"usage",level:2},{value:"assign label to node",id:"assign-label-to-node",level:3},{value:"configure queue",id:"configure-queue",level:3},{value:"submit a vcjob",id:"submit-a-vcjob",level:3},{value:"validate queue affinity and antiAffinity rules is effected",id:"validate-queue-affinity-and-antiaffinity-rules-is-effected",level:3},{value:"Nodegroup Plugin Strict Configuration",id:"nodegroup-plugin-strict-configuration",level:3},{value:"Hierarchical Queue Configuration",id:"hierarchical-queue-configuration",level:3},{value:"Enabling Hierarchical Support",id:"enabling-hierarchical-support",level:4},{value:"Creating Queue Hierarchies",id:"creating-queue-hierarchies",level:4},{value:"Inheritance Behavior",id:"inheritance-behavior",level:4},{value:"How the Nodegroup Plugin Works",id:"how-the-nodegroup-plugin-works",level:2},{value:"Troubleshooting Hierarchical Queues",id:"troubleshooting-hierarchical-queues",level:2},{value:"Issue: Tasks not scheduled despite available nodes",id:"issue-tasks-not-scheduled-despite-available-nodes",level:3},{value:"Issue: Unexpected affinity behavior",id:"issue-unexpected-affinity-behavior",level:3},{value:"Issue: Circular queue dependencies",id:"issue-circular-queue-dependencies",level:3}];function u(e){const n={code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h2,{id:"introduction",children:"Introduction"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Nodegroup plugin"})," is designed to isolate resources by assigning labels to nodes and set node label affinty on Queue."]}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.h3,{id:"assign-label-to-node",children:"assign label to node"}),"\n",(0,s.jsxs)(n.p,{children:["Assign label to node, label key is ",(0,s.jsx)(n.code,{children:"volcano.sh/nodegroup-name"}),"."]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-shell",metastring:"script",children:"kubectl label nodes <nodename> volcano.sh/nodegroup-name=<groupname>\n"})}),"\n",(0,s.jsx)(n.h3,{id:"configure-queue",children:"configure queue"}),"\n",(0,s.jsx)(n.p,{children:"Create queue and bind nodegroup to it."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: default\n spec:\n reclaimable: true\n weight: 1\n affinity: # added field\n nodeGroupAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - <groupname>\n preferredDuringSchedulingIgnoredDuringExecution:\n - <groupname>\n nodeGroupAntiAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - <groupname>\n preferredDuringSchedulingIgnoredDuringExecution:\n - <groupname>\n"})}),"\n",(0,s.jsx)(n.h3,{id:"submit-a-vcjob",children:"submit a vcjob"}),"\n",(0,s.jsx)(n.p,{children:"submit vcjob job-1 to default queue."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-shell",metastring:"script",children:"$ cat <<EOF | kubectl apply -f -\napiVersion: batch.volcano.sh/v1alpha1\nkind: Job\nmetadata:\n name: job-1\nspec:\n minAvailable: 1\n schedulerName: volcano\n queue: default\n policies:\n - event: PodEvicted\n action: RestartJob\n tasks:\n - replicas: 1\n name: nginx\n policies:\n - event: TaskCompleted\n action: CompleteJob\
1n template:\n spec:\n containers:\n - command:\n - sleep\n - 10m\n image: nginx:latest\n name: nginx\n resources:\n requests:\n cpu: 1\n limits:\n cpu: 1\n restartPolicy: Never\nEOF\n"})}),"\n",(0,s.jsx)(n.h3,{id:"validate-queue-affinity-and-antiaffinity-rules-is-effected",children:"validate queue affinity and antiAffinity rules is effected"}),"\n",(0,s.jsxs)(n.p,{children:["Query pod information and verify whether the pod has been scheduled on the correct node. The pod should be scheduled on nodes with\nlabel ",(0,s.jsx)(n.code,{children:"nodeGroupAffinity.requiredDuringSchedulingIgnoredDuringExecution"})," or ",(0,s.jsx)(n.code,{children:"nodeGroupAffinity.preferredDuringSchedulingIgnoredDuringExecution"}),". If not, the pod should be scheduled on nodes with label of ",(0,s.jsx)(n.code,{children:"nodeGroupAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution"}),". Specifically, the pod must not be scheduled on nodes with the label ",(0,s.jsx)(n.code,{children:"nodeGroupAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution"}),"."]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-shell",metastring:"script",children:"kubectl get po job-1-nginx-0 -o wide\n"})}),"\n",(0,s.jsx)(n.h3,{id:"nodegroup-plugin-strict-configuration",children:"Nodegroup Plugin Strict Configuration"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"strict"})," is a boolean argument that controls scheduling behavior for queues that do not have node group affinity defined."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["When ",(0,s.jsx)(n.code,{children:"strict: false"}),", tasks from a queue without affinity can be scheduled on nodes that ",(0,s.jsx)(n.strong,{children:"do not"})," have the ",(0,s.jsx)(n.code,{children:"volcano.sh/nodegroup-name"})," label."]}),"\n",(0,s.jsxs)(n.li,{children:["When ",(0,s.jsx)(n.code,{children:"strict: true"})," (the default), tasks are only allowed to be scheduled on nodes that have a ",(0,s.jsx)(n.code,{children:"volcano.sh/nodegroup-name"})," label."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["The default value is ",(0,s.jsx)(n.code,{children:"true"}),"."]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:'# scheduler configuration\nactions: "allocate, backfill, preempt, reclaim"\ntiers:\n - plugins:\n - name: priority\n - name: gang\n - name: conformance\n - plugins:\n - name: drf\n - name: predicates\n - name: proportion\n - name: nodegroup\n arguments:\n strict: false\n'})}),"\n",(0,s.jsx)(n.h3,{id:"hierarchical-queue-configuration",children:"Hierarchical Queue Configuration"}),"\n",(0,s.jsx)(n.h4,{id:"enabling-hierarchical-support",children:"Enabling Hierarchical Support"}),"\n",(0,s.jsxs)(n.p,{children:["To use hierarchical queues with nodegroup plugin, ensure the plugin configuration includes ",(0,s.jsx)(n.code,{children:"enableHierarchy: true"}),":"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:'# scheduler configuration\nactions: "allocate, backfill, preempt, reclaim"\ntiers:\n - plugins:\n - name: priority\n - name: gang\n - name: conformance\n - plugins:\n - name: drf\n - name: predicates\n - name: proportion\n - name: nodegroup\n enableHierarchy: true\n'})}),"\n",(0,s.jsx)(n.h4,{id:"creating-queue-hierarchies",children:"Creating Queue Hierarchies"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Basic Hierarchy Setup"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.strong,{children:"Create root queue with nodegroup affinity:"})}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: root\nspec:\n weight: 1\n affinity:\n nodeGroupAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - production\n"})}),"\n",(0,s.jsxs)(n.ol,{start:"2",children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.strong,{children:"Create child queues that inherit affinity:"})}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: engineering\nspec:\n weight: 1\n parent: root\n # No affinity specified - inherits from root\n\n---\napiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: backend-team\nspec:\n weight: 1\n parent: engineering\n # No affinity specified - inherits from root (through engineering)\n"})}),"\n",(0,s.jsxs)(n.ol,{start:"3",children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.strong,{children:"Create child queues with custom affinity:"})}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: frontend-team\nspec:\n weight: 1\n parent: engineering\n affinity:\n nodeGroupAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - frontend\n # Overrides inherited affinity from root\n"})}),"\n",(0,s.jsx)(n.h4,{id:"inheritance-behavior",children:"Inheritance Behavior"}),"\n",(0,s.jsxs)(n.table,{children:[(0,s.jsx)(n.thead,{children:(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.th,{children:"Scenario"}),(0,s.jsx)(n.th,{children:"Behavior"})]})}),(0,s.jsxs)(n.tbody,{children:[(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:"Child queue without affinity, parent has affinity"}),(0,s.jsx)(n.td,{children:"Inherits parent's affinity"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:"Child queue without affinity, parent also without affinity"}),(0,s.jsx)(n.td,{children:"Inherits from nearest ancestor with affinity"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:"Child queue with affinity"}),(0,s.jsx)(n.td,{children:"Uses its own affinity (no inheritance)"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:"Queue without parent specified"}),(0,s.jsx)(n.td,{children:"Considered child of root queue"})]})]})]}),"\n",(0,s.jsx)(n.h2,{id:"how-the-nodegroup-plugin-works",children:"How the Nodegroup Plugin Works"}),"\n",(0,s.jsx)(n.p,{children:"The nodegroup design document provides the most detailed information about the node group. There are some tips to help avoid certain issues.These tips are based on a four-nodes cluster and vcjob called job-1:"}),"\n",(0,s.jsxs)(n.table,{children:[(0,s.jsx)(n.thead,{children:(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.th,{children:"Node"}),(0,s.jsx)(n.th,{children:"Label"})]})}),(0,s.jsxs)(n.tbody,{children:[(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:"node1"}),(0,s.jsx)(n.td,{children:"groupname1"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:"node2"}),(0,s.jsx)(n.td,{children:"groupname2"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:"node3"}),(0,s.jsx)(n.td,{children:"groupname3"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:"node4"}),(0,s.jsx)(n.td,{children:"groupname4"})]})]})]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: batch.volcano.sh/v1alpha1\nkind: Job\nmetadata:\n name: job-1\nspec:\n minAvailable: 1\n schedulerName: volcano\n queue: default\n policies:\n - event: PodEvicted\n action: RestartJob\n tasks:\n - replicas: 1\n name: nginx\n policies:\n - event: TaskCompleted\n action: CompleteJob\
1n template:\n spec:\n containers:\n - command:\n - sleep\n - 10m\n image: nginx:latest\n name: nginx\n resources:\n requests:\n cpu: 1\n limits:\n cpu: 1\n restartPolicy: Never\n"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Soft constraints are a subset of hard constraints, including both affinity and anti-affinity. Consider a queue setup as follows:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: default\n spec:\n reclaimable: true\n weight: 1\n affinity: # added field\n nodeGroupAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - groupname1\n - groupname2\n preferredDuringSchedulingIgnoredDuringExecution:\n - groupname1\n nodeGroupAntiAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - groupname3\n - groupname4\n preferredDuringSchedulingIgnoredDuringExecution:\n - groupname3\n"})}),"\n",(0,s.jsx)(n.p,{children:'This implies that tasks in the "default" queue will be scheduled on "groupname1" and "groupname2", with a preference for "groupname1" to run first. Tasks are restricted from running on "groupname3" and "groupname4". However, if the resources in other node groups are insufficient, the task can run on "nodegroup3".'}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:'If soft constraints do not form a subset of hard constraints, the queue configuration is incorrect, leading to tasks running on "groupname2":'}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: default\n spec:\n reclaimable: true\n weight: 1\n affinity: # added field\n nodeGroupAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - groupname2\n preferredDuringSchedulingIgnoredDuringExecution:\n - groupname1\n nodeGroupAntiAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - groupname4\n preferredDuringSchedulingIgnoredDuringExecution:\n - groupname3\n"})}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"If there is a conflict between nodeGroupAffinity and nodeGroupAntiAffinity, nodeGroupAntiAffinity takes higher priority."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: default\n spec:\n reclaimable: true\n weight: 1\n affinity: # added field\n nodeGroupAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - groupname1\n - groupname2\n preferredDuringSchedulingIgnoredDuringExecution:\n - groupname1\n nodeGroupAntiAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - groupname1\n preferredDuringSchedulingIgnoredDuringExecution:\n - groupname2\n"})}),"\n",(0,s.jsx)(n.p,{children:'This implies that tasks in the "default" queue can only run on "groupname2".'}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:'Generally, tasks run on "groupname1" first because it is a soft constraint. However, the scoring function comprises several plugins, so the task may sometimes run on "groupname2".'}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: default\n spec:\n reclaimable: true\n weight: 1\n affinity: # added field\n nodeGroupAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - groupname1\n - groupname2\n preferredDuringSchedulingIgnoredDuringExecution:\n - groupname1\n nodeGroupAntiAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - groupname3\n - groupname4\n preferredDuringSchedulingIgnoredDuringExecution:\n - groupname3\n"})}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"troubleshooting-hierarchical-queues",children:"Troubleshooting Hierarchical Queues"}),"\n",(0,s.jsx)(n.h3,{id:"issue-tasks-not-scheduled-despite-available-nodes",children:"Issue: Tasks not scheduled despite available nodes"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Symptoms:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Tasks remain pending even with available nodes in nodegroups"}),"\n",(0,s.jsx)(n.li,{children:"Error messages about queue affinity requirements"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Possible Causes:"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:"Child queue inheriting restrictive affinity from parent"}),"\n",(0,s.jsx)(n.li,{children:"Nodegroup labels not matching inherited affinity rules"}),"\n",(0,s.jsx)(n.li,{children:"Circular queue dependencies"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Solutions:"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:"Check inheritance chain:"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"kubectl get queue <queue-name> -o yaml\n# Verify parent hierarchy and affinity inheritance\n"})}),"\n",(0,s.jsxs)(n.ol,{start:"2",children:["\n",(0,s.jsx)(n.li,{children:"Override restrictive inheritance:"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"apiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: flexible-team\nspec:\n parent: restrictive-parent\n affinity:\n nodeGroupAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - flexible-nodes\n"})}),"\n",(0,s.jsx)(n.h3,{id:"issue-unexpected-affinity-behavior",children:"Issue: Unexpected affinity behavior"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Symptoms:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Tasks scheduled on unexpected nodegroups"}),"\n",(0,s.jsx)(n.li,{children:"Inheritance not working as expected"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Debugging Steps:"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:"Enable detailed logging:"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"# Check scheduler logs with higher verbosity\nkubectl logs -n volcano-system volcano-scheduler-xxx --tail=100 | grep -i nodegroup\n"})}),"\n",(0,s.jsxs)(n.ol,{start:"2",children:["\n",(0,s.jsx)(n.li,{children:"Verify queue configuration:"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"# List all queues with their hierarchy\nkubectl get queues -o custom-columns=NAME:.metadata.name,PARENT:.spec.parent,WEIGHT:.spec.weight\n"})}),"\n",(0,s.jsx)(n.h3,{id:"issue-circular-queue-dependencies",children:"Issue: Circular queue dependencies"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Symptoms:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Queues not building ancestry correctly"}),"\n",(0,s.jsx)(n.li,{children:"Warning messages about cycle detection"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Solutions:"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:"Review queue hierarchy:"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"# Check for circular references\nkubectl get queues -o custom-columns=NAME:.metadata.name,PARENT:.spec.parent\n"})}),"\n",(0,s.jsxs)(n.ol,{start:"2",children:["\n",(0,s.jsx)(n.li,{children:"Fix circular dependencies by updating parent references:"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:'# Remove or correct circular parent relationships\napiVersion: scheduling.volcano.sh/v1beta1\nkind: Queue\nmetadata:\n name: problematic-queue\nspec:\n parent: "" # Remove circular reference\n weight: 1\n'})})]})}function c(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},28453(e,n,i){i.d(n,{R:()=>o,x:()=>t});var r=i(96540);const s={},a=r.createContext(s);function o(e){const n=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.