Merge pull request #392 from cheriL/fix/tutorials
fix: deployment examples in tutorials
This commit is contained in:
commit
109d4063e9
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue