Sveltos Kubernetes add-on controller programmatically deploys add-ons and applications in tens of clusters. Support for ClusterAPI powered clusters, Helm charts, kustomize ,YAMLs. Sveltos has built-in support for multi-tenancy.
Create a cluster that matches the label - core-addons=enabled. Once the cluster is created, we see that the pod is created properly for the workload cluster. Delete the cluster and we observed that the pod created by above profile for the cluster is not deleted. This causes 2 problems -
Unnecessary pods left behind on the management cluster
Reusing cluster name leads to unexpected behavior since the old pod with same name already exists
The clustersummary and clusterreport resources are correctly deleted after the CAPI cluster is deleted.
Problem Description
Create a cluster profile similar to -
Relevant details of the configmap referenced above -
Create a cluster that matches the label -
core-addons=enabled
. Once the cluster is created, we see that the pod is created properly for the workload cluster. Delete the cluster and we observed that the pod created by above profile for the cluster is not deleted. This causes 2 problems -The clustersummary and clusterreport resources are correctly deleted after the CAPI cluster is deleted.
System Information
CLUSTERAPI VERSION:
v1.7.4
SVELTOS VERSION:v0.38.4
KUBERNETES VERSION:v1.30