mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
Add all supported analyzers to host preflight sample. Don't log transient errors waiting for TCP connection. Begin human stdout results on new line after spinner.
20 lines
480 B
YAML
20 lines
480 B
YAML
apiVersion: troubleshoot.sh/v1beta2
|
|
kind: HostPreflight
|
|
metadata:
|
|
name: memory
|
|
spec:
|
|
collectors:
|
|
- memory:
|
|
collectorName: memory
|
|
analyzers:
|
|
- memory:
|
|
outcomes:
|
|
- fail:
|
|
when: "< 8Gi"
|
|
message: At least 8Gi of memory is required
|
|
- warn:
|
|
when: "< 32Gi"
|
|
message: At least 32Gi of memory is recommended
|
|
- pass:
|
|
message: The system has as sufficient memory
|