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

write default kubeletConfig to config path in drop-in dir versions #1603

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

ndbaker1
Copy link
Member

Issue #, if available:

Description of changes:

  • reduce the number of defaults written in the kubeletconfig by scoping down the logging configuration to a custom type.
  • write the default kubelet config to the config path rather than the config-dir. This gives the correct KubeletConfiguration defaults when parsing rather than using the raw json.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

launch AL2023 1.29 ami and verify nodes don't enounter panic: non-positive interval for NewTicker error

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

nodeadm/internal/kubelet/config.go Outdated Show resolved Hide resolved
nodeadm/internal/kubelet/config.go Outdated Show resolved Hide resolved
@ndbaker1
Copy link
Member Author

ndbaker1 commented Feb 1, 2024

@cartermckinnon the description's been updated to match the behavior unless we are pending anything else

@cartermckinnon cartermckinnon merged commit 52d49ce into awslabs:al2023 Feb 1, 2024
9 checks passed
@ndbaker1 ndbaker1 deleted the drop-in-config branch February 1, 2024 23:46
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