Skip to content

Fix: Remove unnecessary sed command for kubelet-config.yaml in worker…#896

Open
ketanjani21 wants to merge 1 commit intokelseyhightower:masterfrom
ketanjani21:issue-886
Open

Fix: Remove unnecessary sed command for kubelet-config.yaml in worker…#896
ketanjani21 wants to merge 1 commit intokelseyhightower:masterfrom
ketanjani21:issue-886

Conversation

@ketanjani21
Copy link

… node bootstrap

Changelog

  • Removed unnecessary sed command in docs/09-bootstrapping-kubernetes-workers.md that attempted to replace "SUBNET" in configs/kubelet-config.yaml
  • Modified the scp command to copy the original configs/kubelet-config.yaml file directly without modification
  • This fixes issue Unneeded sed command in worker node bootstrap section #886 where an unneeded sed command was identified in the worker node bootstrap section

@FallenVEye
Copy link

Yeah, noticed it too 👍

configs/kubelet-config.yaml > kubelet-config.yaml

scp 10-bridge.conf kubelet-config.yaml \
scp 10-bridge.conf configs/kubelet-config.yaml \

Choose a reason for hiding this comment

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

You can actually remove configs/kubelet-config.yaml from here, and put it in the next block, where the rest of configs are copied to nodes

Copy link
Author

Choose a reason for hiding this comment

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

Thank you for the suggestion, updated the PR.

… node bootstrap

move kubelet-config.yaml copy with rest of the file copies

Signed-off-by: Ketankumar Jani <ketanjani21@gmail.com>
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