Skip to content

Add plugin for putting k8s node into maintenance#6

Open
camh- wants to merge 1 commit intomasterfrom
add-k-maint
Open

Add plugin for putting k8s node into maintenance#6
camh- wants to merge 1 commit intomasterfrom
add-k-maint

Conversation

@camh-
Copy link
Copy Markdown
Member

@camh- camh- commented May 6, 2026

Add a script that puts a k8s node into maintenance mode, and takes it
out again. Maintenance mode ensures there are no pods running on the
node as much as possible (something could tolerate the taint that gets
added, but it's a custom taint so should not happen).

Add a symlink for the completion script to allow shell command line
completion to work with it.

This is a kubectl plugin which works similarly to a git plugin - a
script named kubectl-X can be run as kubectl X. kubectl completion
runs kubectl_complete-X to handle completion for sub-command X.

@camh- camh- requested a review from juliaogris May 6, 2026 02:24
@camh- camh- force-pushed the add-k-maint branch 2 times, most recently from aeec5cc to 76c971f Compare May 6, 2026 02:28
@camh- camh- changed the title Add script for putting k8s node into maintenance Add plugin for putting k8s node into maintenance May 6, 2026
@foxygoat foxygoat deleted a comment from github-actions Bot May 6, 2026
Add a script that puts a k8s node into maintenance mode, and takes it
out again. Maintenance mode ensures there are no pods running on the
node as much as possible (something could tolerate the taint that gets
added, but it's a custom taint so should not happen).

Add a symlink for the completion script to allow shell command line
completion to work with it.

This is a kubectl plugin which works similarly to a git plugin - a
script named kubectl-X can be run as `kubectl X`. kubectl completion
runs `kubectl_complete-X` to handle completion for sub-command X.
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