Uninstalling Fission

Uninstallation guide for Fission

If you want to completely uninstall Fission from your cluster, the following command will help you do that. This might be required in situations where in you want to uninstall the current version and install Fission as a fresh instance.

helm uninstall <release name>

Get the release name by running helm list and replace with the actual <release name>

The above command will only delete the installed services. Custom resources that were created by Fission will need to be manually deleted.

Get a list of fission CRDs

kubectl get crd | grep "fission.io"
NAME                                       CREATED AT
canaryconfigs.fission.io                   2022-01-17T05:47:28Z
environments.fission.io                    2022-01-17T05:47:29Z
functions.fission.io                       2022-01-17T05:47:29Z
httptriggers.fission.io                    2022-01-17T05:47:29Z
kuberneteswatchtriggers.fission.io         2022-01-17T05:47:29Z
messagequeuetriggers.fission.io            2022-01-17T05:47:29Z
packages.fission.io                        2022-01-17T05:47:30Z
timetriggers.fission.io                    2022-01-17T05:47:30Z

First delete the custom resources of each kind, replacing <crd-name> with the actual CRD name (for example functions.fission.io):

kubectl get <crd-name> -o name | xargs -n1 kubectl delete

Then remove the CRD definitions themselves:

kubectl get crd -o name | grep "fission.io" | xargs -n1 kubectl delete

Finally, delete the Fission namespace and the install-time CRD kustomization, if you no longer need them:

kubectl delete namespace fission
kubectl delete -k "github.com/fission/fission/crds/v1?ref=v1.25.0"
If you enabled Internal Service Authentication, helm uninstall removes the chart-managed Secret/fission-internal-auth along with the rest of the release. No manual cleanup is needed for it.