Documentation forSolarWinds Observability SaaS

Remove a K8s cluster entity

To remove a K8s cluster entity and stop monitoring the cluster, stop collecting metrics and logs data and sending this data to SolarWinds Observability SaaS. Use the following instructions to remove the SWO K8s Collector from your cluster and stop collecting K8s data:

  1. Uninstall the Helm chart with the following command.

    • Replace <HelmReleaseName> with the name of your Helm release. If the Helm chart was deployed using the instructions provided in the Add Data wizard, replace <HelmReleaseName> with swo-k8s-collector.

    • Replace <YourK8sNamespace> with the namespace of your Kubernetes cluster.
    helm uninstall <HelmReleaseName> --namespace <YourK8sNamespace>
  2. Drop the kubectl secret that was created during the SWO K8s Collector installation with the following command, replacing <YourK8sNamespace> with the namespace of your Kubernetes cluster.

    kubectl delete secret solarwinds-api-token -n <YourK8sNamespace>

If you have deployed the SolarWinds Observability Agent together with the SWO K8s Collector, you must unregister the SolarWinds Observability Agent manually from SolarWinds Observability SaaS.

Remove an Amazon EKS add-on from a cluster

You can remove the EKS add-on using eksctl or through the AWS Management Console.

Remove the EKS add-on using the eksctl command line tool

Run the following command within the eksctl command line tool to remove the add-on from your cluster:

eksctl delete addon --cluster <clusterName> --name solarwinds_swo-k8s-collector-addon --preserve

Remove the EKS add-on through the AWS Management Console

  1. In the AWS Management Console, select Elastic Kubernetes Service.

  2. In the left navigation, click Clusters.

  3. Click the name of the cluster you want to remove the add-on from.

  4. Go to the Add-ons tab and click SolarWinds Observability SaaS Kubernetes Collector.

  5. Click Remove in the top-right corner.

Remove an Azure AKS extension from a cluster

You can remove the AKS extension using Azure CLI or through the Azure portal.

Remove the AKS extension using Azure CLI

To delete an AKS extension instance on a cluster, use the following command:

az k8s-extension delete --name swo-k8s-collector --cluster-name <clusterName> --resource-group <resourceGroupName> --cluster-type managedClusters

Remove the AKS extension through the Azure portal

  1. In Azure portal, click Select > Kubernetes services.

  2. Click the name of the cluster you want to remove the add-on from.

  3. In the left navigation, click Extensions + applications.

  4. Click swo-k8s-collector > Uninstall.