ClusterLabs / fence-agents

Fence agents
104 stars 160 forks source link

[Feature] fence_kubevirt #401

Closed dankenigsberg closed 3 years ago

dankenigsberg commented 3 years ago

It would be lovely if someone could implement fence_kubevirt which uses the KubeVirt API in order to fence a VM running on a KubeVirt cluster.

I would like to run something like

$ KUBECONFIG=~/.kube/config fence_kubevirt -n vm-name --namespace vm-namespace -o status
Status: ON
nirarg commented 3 years ago

You can find relevant PR: https://github.com/ClusterLabs/fence-agents/pull/412