Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

kfctl delete fails due to cluster context mismatch #484

Open
nanduri1998 opened this issue Feb 2, 2021 · 1 comment
Open

kfctl delete fails due to cluster context mismatch #484

nanduri1998 opened this issue Feb 2, 2021 · 1 comment

Comments

@nanduri1998
Copy link

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

@moficodes
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants