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
495 B
YAML
20 lines
495 B
YAML
apiVersion: troubleshoot.sh/v1beta2
|
|
kind: HostPreflight
|
|
metadata:
|
|
name: ipv4Interfaces
|
|
spec:
|
|
collectors:
|
|
- ipv4Interfaces: {}
|
|
analyzers:
|
|
- ipv4Interfaces:
|
|
outcomes:
|
|
- fail:
|
|
when: "count == 0"
|
|
message: No IPv4 interfaces detected
|
|
- warn:
|
|
when: "count >= 2"
|
|
message: Multiple IPv4 interfaces detected
|
|
- pass:
|
|
when: "count == 1"
|
|
message: IPv4 interface detected
|