kyma-incubator / local-kyma

Local installation on k3d cluster
14 stars 10 forks source link

Cluster deprovisioning stucks on orhpan ClusterAssets and ClusterBuckets from Rafter #36

Closed pbochynski closed 4 years ago

pbochynski commented 4 years ago

When Rafter is uninstalled (helm uninstall) it doesn't clean up all the cluster resources: ClusterAssets and ClusterBuckets. The resources are created for the commerce mock API spec. Unfortunately, there is no easy way to delete these resources as they have finalizers.

pbochynski commented 4 years ago

The solution, for now, is not to wait for cluster deprovisioning and try to remove orhan resources that prevent graceful deletion for the shoot cluster (#37). It can be further improved when https://github.com/gardener/gardener/issues/3110 is implemented.

pbochynski commented 4 years ago

Shoots are deleted after ~10 minutes. It is enough to keep jobs scheduled every hour.