Article
· Sep 2 1m read

Helm Uninstall InterSystems - What does it do?

Say I want to uninstall the IKO - all I need to do is:

> helm uninstall intersystems

What happens behind the scenes is that helm will uninstall what was installed when you ran :

> helm install intersystems <relative/path/to/iris-operator>

In some sense - this is symmetric to when we ran install - however with a different image.

You'll notice that when you install, it knows what image to take from:

operator:
  registry: containers.intersystems.com
  repository: intersystems/iris-operator-amd
  tag: 3.7.13.100

For uninstall the image to take note of is:

cleaner:
  registry: appscode
  repository: kubectl
  tag: v1.14

as referenced in your values.yaml.

Some clients have had trouble uninstalling when their cluster is not connected to the internet, because this image is missing from their registry. What occurs then, is that we have to go and delete the objects that were created via the templates folder, referenced here, and these two secrets:

intersystems-iris-operator-amd-apiserver-cert
sh.helm.release.v1.intersystems.v1

To avoid this just push the cleaner image to your repository. You can find the newest image here (make sure to push the image you reference in values.yaml).

Hope this helps!

Discussion (0)1
Log in or sign up to continue