Skip to content

Conversation

@tarabrind
Copy link
Member

@tarabrind tarabrind commented Dec 11, 2025

@tarabrind tarabrind self-assigned this Dec 11, 2025
@tarabrind tarabrind marked this pull request as draft December 12, 2025 11:07
Introduces a new command group `d8 cni-switch` to manage CNI provider switching in the cluster.

This includes subcommands to:
- `switch`: Initiate the CNI migration process by creating a `CNIMigration` resource.
- `watch`: Monitor the progress of an ongoing CNI migration.
- `cleanup`: Remove any lingering `CNIMigration` resources.

Also defines the necessary Kubernetes API types (`CNIMigration`, `CNINodeMigration`) and integrates the new command into the root `d8` command.

Signed-off-by: Denis Tarabrin <denis.tarabrin@flant.com>
This commit renames the `cni-switch` command group to `cni-migration`. This change better reflects the functionality of the commands, which are used to manage the migration of CNI plugins within the cluster.

The following commands have been renamed:
- `d8 cni-switch switch` to `d8 cni-migration switch`
- `d8 cni-switch watch` to `d8 cni-migration watch`
- `d8 cni-switch cleanup` to `d8 cni-migration cleanup`

Signed-off-by: Denis Tarabrin <denis.tarabrin@flant.com>
Signed-off-by: Denis Tarabrin <denis.tarabrin@flant.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