You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/cuj1.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,23 @@ aicr recipe \
14
14
--output recipe.yaml
15
15
```
16
16
17
+
## Validate Recipe Constraints
18
+
19
+
> Setting additional `--namespace` or `--node-selector` flag to land the agent on on the right node is OK
20
+
21
+
```shell
22
+
aicr validate \
23
+
--phase readiness \
24
+
--recipe recipe.yaml
25
+
```
26
+
17
27
## Generate Bundle
18
28
19
-
> Assuming user updates selectors and tolerations as needed
29
+
> Setting additional `--accelerated-node-selector`, `--accelerated-node-toleration`, or `--system-node-toleration` flags to land the agent on on the right node is OK
> Setting additional `--namespace` or `--node-selector` flag to land the agent on on the right node is OK
20
+
24
21
```shell
25
22
aicr validate \
26
23
--phase readiness \
27
-
--namespace gpu-operator \
28
-
--node-selector nodeGroup=customer-gpu \
29
24
--recipe recipe.yaml
30
25
```
31
26
32
-
Sample output:
33
-
```
34
-
recipeSource: recipe.yaml
35
-
snapshotSource: agent:gpu-operator/aicr-validate
36
-
summary:
37
-
passed: 4
38
-
failed: 0
39
-
skipped: 0
40
-
total: 4
41
-
status: pass
42
-
duration: 477.583µs
43
-
phases:
44
-
readiness:
45
-
status: pass
46
-
constraints:
47
-
- name: K8s.server.version
48
-
expected: '>= 1.34'
49
-
actual: v1.34.3-eks-ac2d5a0
50
-
status: passed
51
-
- name: OS.release.ID
52
-
expected: ubuntu
53
-
actual: ubuntu
54
-
status: passed
55
-
- name: OS.release.VERSION_ID
56
-
expected: "24.04"
57
-
actual: "24.04"
58
-
status: passed
59
-
- name: OS.sysctl./proc/sys/kernel/osrelease
60
-
expected: '>= 6.8'
61
-
actual: 6.14.0-1018-aws
62
-
status: passed
63
-
duration: 477.583µs
64
-
```
65
-
66
-
> Assuming cluster meets recipe constraints
67
-
68
27
## Generate Bundle
69
28
70
-
> Assuming user updates selectors and tolerations as needed
29
+
> Setting additional `--accelerated-node-selector`, `--accelerated-node-toleration`, or `--system-node-toleration` flags to land the agent on on the right node is OK
0 commit comments