We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f94b5 commit 09ec197Copy full SHA for 09ec197
pkg/preflights/host-preflight.yaml
@@ -24,7 +24,22 @@ spec:
24
- time: {}
25
- ipv4Interfaces: {}
26
- kernelConfigs: {}
27
+ - run:
28
+ collectorName: "ip-route-table"
29
+ command: "ip"
30
+ args: ["route"]
31
analyzers:
32
+ - textAnalyze:
33
+ checkName: Default route
34
+ fileName: host-collectors/run-host/ip-route-table.txt
35
+ regex: "default"
36
+ outcomes:
37
+ - fail:
38
+ when: "false"
39
+ message: "No default route found. A default route is required for cluster initialization"
40
+ - pass:
41
+ when: "true"
42
+ message: "Host has default route"
43
- cpu:
44
checkName: 'Number of CPUs in the system'
45
outcomes:
0 commit comments