Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Uninstall the app installed using k3sup #179

Closed
orsenthil opened this issue Feb 2, 2020 · 3 comments
Closed

How to Uninstall the app installed using k3sup #179

orsenthil opened this issue Feb 2, 2020 · 3 comments

Comments

@orsenthil
Copy link

I used k3sup app to install kubernetes app.

$ k3sup app
...
Available Commands:
  info        Find info about a Kubernetes app
  install     Install a Kubernetes app
...

I will like to uninstall the app. How do I uninstall it? Why does k3sup does not provide an uninstall command?

@alexellis
Copy link
Owner

Which app do you want to remove?

@alexellis
Copy link
Owner

You'll see from the installation that there's a folder created in /tmp/ which we use kubectl apply -f with, you can use run kubectl delete -f /tmp/ if you like, or delete the namespace / resources.

Which specific app do you want to remove anyway?

Closing as out of scope.

@orsenthil
Copy link
Author

Hi @alexellis

  • I did not see anything in the /tmp that will allow me to do the kubectl delete -f /tmp/packagename

My inlets-operator installation failed

$ kubectl logs inlets-operator-5c65677cc-j9dnf -n default
Error from server (BadRequest): container "inlets-operator" in pod "inlets-operator-5c65677cc-j9dnf" is waiting to start: ContainerCreating
...

Events:
  Type     Reason       Age                       From                               Message
  ----     ------       ----                      ----                               -------
  Warning  FailedMount  19m (x2665 over 3d18h)    kubelet, volta-rpi4-ubuntu-agent1  MountVolume.SetUp failed for volume "inlets-access-key" : secret "inlets-access-key" not found
  Warning  FailedMount  4m33s (x1861 over 3d18h)  kubelet, volta-rpi4-ubuntu-agent1  Unable to attach or mount volumes: unmounted volumes=[inlets-access-key], unattached volumes=[inlets-access-key inlets-operator-token-4cjq4]: timed out waiting for the condition
(base) senthil@mahalonobis:~$ kubectl explain inlets-operator-5c65677cc-j9dnf -n default

PostgreSQL had failed

kubectl describe pod postgresql-postgresql-0 -n kube-system 

Events:
  Type     Reason   Age                        From                                Message
  ----     ------   ----                       ----                                -------
  Warning  Failed   44m (x21980 over 3d12h)    kubelet, pascal-rpi4-ubuntu-master  Error: ImagePullBackOff
  Warning  Failed   39m (x978 over 3d12h)      kubelet, pascal-rpi4-ubuntu-master  Failed to pull image "docker.io/bitnami/minideb:stretch": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/bitnami/minideb:stretch": failed to resolve reference "docker.io/bitnami/minideb:stretch": failed to do request: Head https://registry-1.docker.io/v2/bitnami/minideb/manifests/stretch: dial tcp: lookup registry-1.docker.io: Try again
  Normal   BackOff  4m26s (x22155 over 3d12h)  kubelet, pascal-rpi4-ubuntu-master  Back-off pulling image "docker.io/bitnami/minideb:stretch"

I wanted to see way to uninstall these apps that I installed via k3sup.
I cannot uninstall them via helm uninstall

Why do you think this request is out-of-scope?

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

No branches or pull requests

2 participants