Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: capture and analyse ipv4 interfaces #579

Merged
merged 1 commit into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pkg/goods/support/host-support-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
uri: https://raw.githubusercontent.com/replicatedhq/embedded-cluster/main/pkg/goods/support/host-support-bundle.yaml
hostCollectors:
- ipv4Interfaces: {}
- hostServices: {}
- cpu: {}
- hostOS: {}
Expand Down Expand Up @@ -40,6 +41,14 @@ spec:
command: journalctl
args: [ "--since", "2 days ago", "--no-pager", "-u", "k0scontroller.service" ]
hostAnalyzers:
- ipv4Interfaces:
outcomes:
- fail:
when: "count == 0"
message: No IPv4 interfaces detected
- pass:
when: "count >= 1"
message: IPv4 interface detected
- memory:
checkName: Amount of Memory
outcomes:
Expand Down
Loading