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 user guidance comment for executing drain and uncordon on control plane #44322

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

adityasamant25
Copy link
Contributor

@adityasamant25 adityasamant25 commented Dec 13, 2023

Fixes #44321

Added clear comments to specify that the kubectl drain and kubectl uncordon commands must be executed on the controlplane node.

Suggestions and feedback are welcome.

Best Regards,
Aditya

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 13, 2023
@k8s-ci-robot k8s-ci-robot added language/en Issues or PRs related to English language sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 13, 2023
@adityasamant25
Copy link
Contributor Author

/assign

Copy link

netlify bot commented Dec 13, 2023

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 3a13717
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/6579940a13dbd000081c6fb8
😎 Deploy Preview https://deploy-preview-44322--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@neolit123 neolit123 left a comment

Choose a reason for hiding this comment

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

adde two nits, the suggested changes are valid.
worker nodes don't have the admin.conf

/sig cluster-lifecycle
/triage accepted

@k8s-ci-robot k8s-ci-robot added sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. triage/accepted Indicates an issue or PR is ready to be actively worked on. labels Dec 13, 2023
@neolit123
Copy link
Member

This PR tries to fix #44321

change this to Fixes #44321 to auto close the ticket

… commands must be executed on a control plane node.

Apply suggestions from code review

Co-authored-by: Lubomir I. Ivanov <[email protected]>
@adityasamant25
Copy link
Contributor Author

@neolit123 Thanks for your feedback.
I've implemented your suggestions and squashed the commits.

Copy link
Member

@neolit123 neolit123 left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 13, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 4238ab9fed0d223615d1415e94b3a87f57be9269

@dipesh-rawat
Copy link
Member

/retitle Add user guidance comment for executing drain and uncordon on control plane

@k8s-ci-robot k8s-ci-robot changed the title Issue 44321 - Added comment to emphasize that the drain and uncordon commands must be executed on the controlplane node. Add user guidance comment for executing drain and uncordon on control plane Dec 13, 2023
Copy link
Contributor

@divya-mohan0209 divya-mohan0209 left a comment

Choose a reason for hiding this comment

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

Thanks for the fix, @adityasamant25 !
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: divya-mohan0209

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 14, 2023
@k8s-ci-robot k8s-ci-robot merged commit 98dcbdd into kubernetes:main Dec 14, 2023
3 checks passed
@adityasamant25 adityasamant25 deleted the issue-44321 branch December 14, 2023 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
5 participants