@@ -29,72 +29,72 @@ spec:
2929 command : " ip"
3030 args : ["route"]
3131 analyzers :
32- - textAnalyze :
33- checkName : Default route
34- fileName : host-collectors/run-host/ip-route-table.txt
35- regex : " default"
32+ - cpu :
33+ checkName : ' CPU'
3634 outcomes :
3735 - fail :
38- when : " false "
39- message : " No default route found. A default route is required for cluster initialization. "
36+ when : ' count < 2 '
37+ message : At least 2 CPU cores are required
4038 - pass :
41- when : " true"
42- message : " Host has a default route."
43- - cpu :
44- checkName : ' Number of CPUs in the system'
39+ message : At least 2 CPU cores are present
40+ - memory :
41+ checkName : Memory
4542 outcomes :
4643 - fail :
47- when : ' count < 2 '
48- message : At least 2 CPU cores is required
44+ when : ' < 2G '
45+ message : At least 2GB of memory is required
4946 - pass :
50- message : This node has at least 2 CPU cores
47+ message : At least 2GB of memory is present
5148 - diskUsage :
52- checkName : embedded-cluster path usage
49+ checkName : Embedded Cluster Disk Space
5350 collectorName : embedded-cluster-path-usage
5451 outcomes :
5552 - fail :
5653 when : ' total < 40Gi'
57- message : The filesystem at the path /var/lib/embedded-cluster has less than 40Gi of total space
54+ message : The filesystem at /var/lib/embedded-cluster has less than 40Gi of total space
5855 - pass :
59- message : The filesystem at the path /var/lib/embedded-cluster has sufficient space
56+ message : The filesystem at /var/lib/embedded-cluster has sufficient space
6057 - diskUsage :
61- checkName : k0s path usage
58+ checkName : k0s Disk Space
6259 collectorName : k0s-path-usage
6360 outcomes :
6461 - fail :
6562 when : ' total < 40Gi'
66- message : The filesystem at the path /var/lib/k0s has less than 40Gi of total space
63+ message : The filesystem at /var/lib/k0s has less than 40Gi of total space
6764 - fail :
6865 when : ' used/total > 80%'
69- message : The filesystem at the path /var/lib/k0s is more than 80% full
66+ message : The filesystem at /var/lib/k0s is more than 80% full
7067 - pass :
71- message : The filesystem at the path /var/lib/k0s has sufficient space
68+ message : The filesystem at /var/lib/k0s has sufficient space
7269 - diskUsage :
73- checkName : openebs path usage
70+ checkName : OpenEBS Disk Space
7471 collectorName : openebs-path-usage
7572 outcomes :
7673 - fail :
7774 when : ' total < 5Gi'
78- message : The filesystem at the path /opt/openebs has less than 5Gi of total space
75+ message : The filesystem at /opt/openebs has less than 5Gi of total space
7976 - pass :
80- message : The filesystem at the path /opt/openebs has sufficient space
77+ message : The filesystem at /opt/openebs has sufficient space
8178 - diskUsage :
82- checkName : tmp path usage
79+ checkName : tmp Disk Space
8380 collectorName : tmp-path-usage
8481 outcomes :
8582 - fail :
8683 when : ' total < 5Gi'
87- message : The filesystem at the path /tmp has less than 5Gi of total space
84+ message : The filesystem at /tmp has less than 5Gi of total space
8885 - pass :
89- message : The filesystem at the path /tmp has sufficient space
90- - memory :
91- checkName : Amount of memory on the system
86+ message : The filesystem at /tmp has sufficient space
87+ - textAnalyze :
88+ checkName : Default Route
89+ fileName : host-collectors/run-host/ip-route-table.txt
90+ regex : " default"
9291 outcomes :
9392 - fail :
94- when : ' < 2G '
95- message : At least 2G of memory is recommended
93+ when : " false "
94+ message : " No default route found. A default route is required. "
9695 - pass :
97- message : The system has at least 2G of memory
96+ when : " true"
97+ message : " Host has a default route"
9898 - ipv4Interfaces :
9999 outcomes :
100100 - fail :
@@ -104,14 +104,14 @@ spec:
104104 when : ' count >= 1'
105105 message : IPv4 interface detected
106106 - time :
107- checkName : ' Time synchronization '
107+ checkName : System Clock
108108 outcomes :
109109 - fail :
110110 when : ' ntp == unsynchronized+inactive'
111111 message : ' System clock is not synchronized'
112112 - fail :
113113 when : ' ntp == unsynchronized+active'
114- message : System clock not yet synchronized
114+ message : System clock is not yet synchronized
115115 - pass :
116116 when : ' ntp == synchronized+active'
117117 message : ' System clock is synchronized'
0 commit comments