kfctl icon indicating copy to clipboard operation
kfctl copied to clipboard

kfctl delete fails due to cluster context mismatch

Open nanduri1998 opened this issue 5 years ago • 1 comments

When I run kfctl delete -f istio_dex.yaml, I get an error of kfctl delete failed, cluster-context does not match kuberentes context. However when I add the --force-deletion flag to the command, it throws a warning but continues to uninstall provided I delete the existing generated kustomize folder. Can anyone help me with this matter

nanduri1998 avatar Feb 02 '21 11:02 nanduri1998

when kubeflow is installed the cluster-context is injected to the kfdef file.

If you try to delete from a cluster with a different name / user / namespace the context might be a mismatch. in this case --force-deletion is used.

moficodes avatar Feb 05 '21 22:02 moficodes