@@ -29,72 +29,72 @@ spec:
29
29
command : " ip"
30
30
args : ["route"]
31
31
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'
36
34
outcomes :
37
35
- 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
40
38
- 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
45
42
outcomes :
46
43
- 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
49
46
- pass :
50
- message : This node has at least 2 CPU cores
47
+ message : At least 2GB of memory is present
51
48
- diskUsage :
52
- checkName : embedded-cluster path usage
49
+ checkName : Embedded Cluster Disk Space
53
50
collectorName : embedded-cluster-path-usage
54
51
outcomes :
55
52
- fail :
56
53
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
58
55
- 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
60
57
- diskUsage :
61
- checkName : k0s path usage
58
+ checkName : k0s Disk Space
62
59
collectorName : k0s-path-usage
63
60
outcomes :
64
61
- fail :
65
62
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
67
64
- fail :
68
65
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
70
67
- 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
72
69
- diskUsage :
73
- checkName : openebs path usage
70
+ checkName : OpenEBS Disk Space
74
71
collectorName : openebs-path-usage
75
72
outcomes :
76
73
- fail :
77
74
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
79
76
- pass :
80
- message : The filesystem at the path /opt/openebs has sufficient space
77
+ message : The filesystem at /opt/openebs has sufficient space
81
78
- diskUsage :
82
- checkName : tmp path usage
79
+ checkName : tmp Disk Space
83
80
collectorName : tmp-path-usage
84
81
outcomes :
85
82
- fail :
86
83
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
88
85
- 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"
92
91
outcomes :
93
92
- 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. "
96
95
- pass :
97
- message : The system has at least 2G of memory
96
+ when : " true"
97
+ message : " Host has a default route"
98
98
- ipv4Interfaces :
99
99
outcomes :
100
100
- fail :
@@ -104,14 +104,14 @@ spec:
104
104
when : ' count >= 1'
105
105
message : IPv4 interface detected
106
106
- time :
107
- checkName : ' Time synchronization '
107
+ checkName : System Clock
108
108
outcomes :
109
109
- fail :
110
110
when : ' ntp == unsynchronized+inactive'
111
111
message : ' System clock is not synchronized'
112
112
- fail :
113
113
when : ' ntp == unsynchronized+active'
114
- message : System clock not yet synchronized
114
+ message : System clock is not yet synchronized
115
115
- pass :
116
116
when : ' ntp == synchronized+active'
117
117
message : ' System clock is synchronized'
0 commit comments