oc delete project kubevirt
# oc get project kubevirt
NAME DISPLAY NAME STATUS
kubevirt Terminating
# oc api-resources --verbs=list --namespaced -o name | xargs -n 1 oc get --show-kind --ignore-not-found -o jsonpath='{range .items[*]}{.kind}/{.metadata.name}: {.metadata.finalizers}{"\n"}{end}'
KubeVirt/kubevirt: [foregroundDeleteKubeVirt]
error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request
# kubectl get apiservice | grep 'metrics.k8s.io/v1beta1'
v1beta1.metrics.k8s.io 2020-08-29T15:05:38Z
# oc delete apiservice v1beta1.metrics.k8s.io
# oc patch kubevirt/kubevirt --type=merge -p '{"metadata": {"finalizers":null}}'
kubevirt.kubevirt.io/kubevirt patched