Merge pull request #392 from cheriL/fix/tutorials

fix: deployment examples in tutorials
This commit is contained in:
Volcano Bot 2025-07-04 10:06:27 +08:00 committed by GitHub
commit 109d4063e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -184,8 +184,6 @@ metadata:
# Crucial for gang scheduling: This annotation tells Volcano to treat this deployment as a gang,
# requiring at least 2 pods to be schedulable together before any are launched.
scheduling.volcano.sh/group-min-member: "2"
# Optional: You can also specify a specific Volcano queue for the PodGroup created by this deployment.
# scheduling.volcano.sh/queue-name: "my-deployment-queue"
labels:
app: my-app
spec:
@ -195,6 +193,9 @@ spec:
app: my-app
template:
metadata:
# annotations:
# Optional: You can also specify a specific Volcano queue for the PodGroup created by this deployment.
# scheduling.volcano.sh/queue-name: "my-deployment-queue"
labels:
app: my-app
spec:

View File

@ -180,8 +180,6 @@ metadata:
# 对成组调度至关重要此注解告知Volcano将此Deployment视为一个组
# 要求至少2个Pod能够一起调度然后才会启动任何Pod。
scheduling.volcano.sh/group-min-member: "2"
# 可选您也可以为此Deployment创建的PodGroup指定一个特定的Volcano队列。
# scheduling.volcano.sh/queue-name: "my-deployment-queue"
labels:
app: my-app
spec:
@ -191,6 +189,9 @@ spec:
app: my-app
template:
metadata:
# annotations:
# 可选您也可以为此Deployment创建的PodGroup指定一个特定的Volcano队列。
# scheduling.volcano.sh/queue-name: "my-deployment-queue"
labels:
app: my-app
spec: