loft-sh / loft

Namespace & Virtual Cluster Manager for Kubernetes - Lightweight Virtual Clusters, Self-Service Provisioning for Engineers and 70% Cost Savings with Sleep Mode
https://loft.sh/docs/introduction
Other
738 stars 65 forks source link

Loft cannot be uninstalled #252

Closed mausch closed 1 year ago

mausch commented 1 year ago

Namespace won't delete, has status:

status:
  phase: Terminating
  conditions:
    - type: NamespaceDeletionDiscoveryFailure
      status: 'True'
      lastTransitionTime: '2023-10-20T11:18:14Z'
      reason: DiscoveryFailed
      message: >-
        Discovery failed for some groups, 1 failing: unable to retrieve the
        complete list of server APIs: cluster.loft.sh/v1: stale GroupVersion
        discovery: cluster.loft.sh/v1

Loft helm chart 3.2.4 Kubernetes 1.28 on EKS

FabianKramm commented 1 year ago

Hey @mausch! Please take a look at https://loft.sh/docs/2.3/admin/guides/uninstall#delete-helm-release , you need to delete the apiservice via kubectl as that is not part of the helm chart