Skip to content

Commit b50ee8e

Browse files
authored
Merge pull request #44954 from sftim/20240130_fix_highlighting
Fix highlighting for added lines
2 parents 3cd2bb6 + 5a859a7 commit b50ee8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/tasks/manage-gpus/scheduling-gpus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@ You also need a plugin for NFD that adds appropriate labels to your nodes; these
9595
labels or they could be vendor specific. Your GPU vendor may provide a third party
9696
plugin for NFD; check their documentation for more details.
9797

98-
{{< highlight yaml "linenos=false,hl_lines=6-18" >}}
98+
{{< highlight yaml "linenos=false,hl_lines=7-18" >}}
9999
apiVersion: v1
100100
kind: Pod
101101
metadata:
102102
name: example-vector-add
103103
spec:
104+
restartPolicy: OnFailure
104105
# You can use Kubernetes node affinity to schedule this Pod onto a node
105106
# that provides the kind of GPU that its container needs in order to work
106107
affinity:
@@ -113,7 +114,6 @@ spec:
113114
values: ["40535"]
114115
- key: "feature.node.kubernetes.io/pci-10.present" # NFD Feature label
115116
values: ["true"] # (optional) only schedule on nodes with PCI device 10
116-
restartPolicy: OnFailure
117117
containers:
118118
- name: example-vector-add
119119
image: "registry.example/example-vector-add:v42"

0 commit comments

Comments
 (0)