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

Add kubectl debug node and more troubleshooting for Auto Mode #850

Draft
wants to merge 1 commit into
base: mainline
Choose a base branch
from

Conversation

fincd-aws
Copy link
Contributor

No description provided.

@fincd-aws fincd-aws self-assigned this Jan 23, 2025
@fincd-aws fincd-aws requested a review from geoffcline January 23, 2025 01:11
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-850.d3rijirjvbh87e.amplifyapp.com

@fincd-aws fincd-aws force-pushed the df-auto-troubleshoot branch from 47c7a3d to 50bf843 Compare January 23, 2025 01:13
@fincd-aws
Copy link
Contributor Author

Fixed a broken (mismatched) new section title with the force push.

bash-5.2#
----

. From the shell, you can now install util-linux-core which provides the nsenter command. Here nsenter is used to enter the mount namespace of pid 1 (init) on the hots, and run the journalctl command to stream logs from kubelet :
Copy link

Choose a reason for hiding this comment

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

Typo, s/hots/host/

nsenter -t 1 -m journalctl -f -u kubelet
----

For security, the Amazon Linux container image doesn't install many binaries by default. You can use the yum wh atprovides command to identify the package that must be installed to provide a given binary.
Copy link

Choose a reason for hiding this comment

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

Typo, s/wh at/what/

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