timescale / helm-charts

Configuration and Documentation to run TimescaleDB in your Kubernetes cluster
Apache License 2.0
263 stars 223 forks source link

[ISSUE] Uninstall is not removing config service #271

Open Nainterceptor opened 3 years ago

Nainterceptor commented 3 years ago

Describe the bug When I try to uninstall an instance created with loadBalancer.enabled parameter set to false, service timescaledb-config is not removed.

To Reproduce

  1. helm install timescaledb timescale/timescaledb-single --set "loadBalancer.enabled"=false
  2. helm uninstall timescaledb
  3. kubectl get service | grep config

Expected behavior config service should be removed.

feikesteenbergen commented 3 years ago

The config service is recreated by Patroni, and therefore can exist afterwards.

To fully purge all objects belonging to a cluster, see:

https://github.com/timescale/timescaledb-kubernetes/blob/master/charts/timescaledb-single/admin-guide.md#cleanup

Nainterceptor commented 3 years ago

For information, we're using terraform in our workflow, so the uninstall is triggered by terraform too, not expected to have to cleanup it manually :/