Cloud-on-k8s: How to remove the example "QuickStart" Cluster

Created on 28 May 2019  路  2Comments  路  Source: elastic/cloud-on-k8s

I ran the quickstart example code and would now like to remove the example cluster but it doesn't seem that easy, I reran the example code snippit that I used to create the cluster but replaced "apply" with "delete" and that remove a "statefull set" I think... but the elastic pods are still there so I've tried deleting each of them but they keep reappearing.

could someone help ?
Thanks

Most helpful comment

Hi @Keithsc,

This is the proper way to uninstall the quickstart resources:

kubectl delete elasticsearch quickstart
kubectl delete kibana quickstart

This should delete all underlying Elasticsearch and Kibana resources (pods, secrets, etc.).

Then to uninstall the operator itself:

kubectl delete -f https://download.elastic.co/downloads/eck/0.8.0/all-in-one.yaml

All 2 comments

Oops I didn't see there was also a daemonset that I needed to remove...
kubectl delete ds elasticsearch-operator-sysctl
kubectl delete service kubernetes

Hi @Keithsc,

This is the proper way to uninstall the quickstart resources:

kubectl delete elasticsearch quickstart
kubectl delete kibana quickstart

This should delete all underlying Elasticsearch and Kibana resources (pods, secrets, etc.).

Then to uninstall the operator itself:

kubectl delete -f https://download.elastic.co/downloads/eck/0.8.0/all-in-one.yaml
Was this page helpful?
0 / 5 - 0 ratings

Related issues

anyasabo picture anyasabo  路  3Comments

barkbay picture barkbay  路  4Comments

Sakib37 picture Sakib37  路  3Comments

sebgl picture sebgl  路  5Comments

spencergilbert picture spencergilbert  路  3Comments