Skip to content

feat: k8s nodepool taints - #708

Merged
avirtopeanu-ionos merged 12 commits into
masterfrom
feat/k8s-nodepool-taints
Oct 26, 2026
Merged

avirtopeanu-ionos merged 12 commits into
masterfrom
feat/k8s-nodepool-taints

Conversation

@avirtopeanu-ionos

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings October 13, 2026 13:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Taint validation occurs after API reads, while cleanup polling can mistake transient failures for completed deletion.

2 open findings
What changed in this PR

Adds Kubernetes node-pool taint management to the compute CLI.

Changes:

  • Adds create/update taint parsing, completion, and output formatting.
  • Documents and tests replacement, preservation, and removal behavior.
  • Expands integration cleanup polling.
File Description
CHANGELOG.md Records taint support.
internal/​constants/​constants.go Defines the taints flag.
commands/​compute/​k8s/​nodepool/​create.go Adds create flag and help.
commands/​compute/​k8s/​nodepool/​update.go Adds update flag and help.
commands/​compute/​k8s/​nodepool/​run_k8s_nodepool.go Parses and applies taints.
commands/​compute/​k8s/​nodepool/​nodepool.go Adds the Taints output column.
commands/​compute/​k8s/​nodepool/​taints_test.go Tests parsing and payload behavior.
test/​suites/​compute/​k8s.bats Adds end-to-end taint coverage.
docs/​subcommands/​Managed-Kubernetes/​nodepool/​create.md Documents create behavior.
docs/​subcommands/​Managed-Kubernetes/​nodepool/​update.md Documents update behavior.
docs/​subcommands/​Managed-Kubernetes/​nodepool/​get.md Lists the new column.
docs/​subcommands/​Managed-Kubernetes/​nodepool/​list.md Lists the new column.
docs/​subcommands/​Managed-Kubernetes/​nodepool/​delete.md Lists the new column.
docs/​subcommands/​Managed-Kubernetes/​nodepool/​lan/​remove.md Lists the new column.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/suites/compute/k8s.bats Resolved
@sonarqubecloud

Copy link
Copy Markdown

@avirtopeanu-ionos
avirtopeanu-ionos merged commit ac8fd2a into master Oct 26, 2026
12 checks passed
@avirtopeanu-ionos
avirtopeanu-ionos deleted the feat/k8s-nodepool-taints branch October 26, 2026 09:34
@avirtopeanu-ionos
avirtopeanu-ionos restored the feat/k8s-nodepool-taints branch October 27, 2026 09:42
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.

3 participants