Skip to content

[RFE] Request for --skip-kube-node-deletion on kcli delete vm #883

Description

@palonsoro

Apparently, kcli delete vm automatically detects if a VM is part of a Kubernetes/OCP cluster and automatically runs oc delete node upon deletion.

This is useful 95% of the cases, but there are concrete situations where it is not (e.g. decomisioning a failing control plane node while the etcd cluster doesn't have quorum). So it would be useful to have an opt-in flag like --skip-kube-node-deletion that skips this logic and just removes the VM (it would be then up to the user to clean the nodes once etcd quorum is later restored).

Of course there may be workarounds (like just messing with virsh), but it would be ideal to just have this in kcli directly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions