mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
26 lines
698 B
YAML
26 lines
698 B
YAML
apiVersion: troubleshoot.sh/v1beta2
|
|
kind: SupportBundle
|
|
metadata:
|
|
name: default
|
|
spec:
|
|
collectors:
|
|
- clusterResources: {}
|
|
- clusterInfo: {}
|
|
analyzers:
|
|
- clusterPodStatuses:
|
|
outcomes:
|
|
- fail:
|
|
when: "!= Healthy"
|
|
message: "Status: {{ .Status.Reason }}"
|
|
- nodeResources:
|
|
checkName: Node status check
|
|
outcomes:
|
|
- fail:
|
|
when: "nodeCondition(Ready) == False"
|
|
message: "Not all nodes are online."
|
|
- fail:
|
|
when: "nodeCondition(Ready) == Unknown"
|
|
message: "Not all nodes are online."
|
|
- pass:
|
|
message: "All nodes are online."
|