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

Include system information in the inspect.sh script #921

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

claudiubelu
Copy link
Contributor

When investigating the state of a Kubernetes node, it may be useful to check a few host resources and their availability, to root cause potential memory / disk pressure issues.

When investigating the state of a Kubernetes node, it may be useful to
check a few host resources and their availability, to root cause
potential memory / disk pressure issues.
@claudiubelu claudiubelu requested a review from a team as a code owner December 19, 2024 14:37
Copy link
Contributor

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor addition


log_info "Copy /etc/os-release to the final report tarball"
cp /etc/os-release $INSPECT_DUMP/sys/etc-os-release
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also add the loaded kernel modules(smod), CPU info(lscpu), network connections (ss -tuln), mounts (cat /proc/mounts) and swap (swapon) - you never know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants