To delete the Kubernetes Sensor from a cluster, you must delete the cluster from the Carbon Black Cloud console.
Prerequisites
Before you begin, open both the Carbon Black Cloud console and a terminal window.
Procedure
- On the left navigation pane of the console, do one of the following depending on your system configuration and role:
- If you are assigned Kubernetes Security DevOps role and your system has only Containers Security feature,
Click .
- If you are assigned any other role and your system has Container security and other Carbon Black Cloud features,
click .
- Locate the cluster to delete from the console.
- In the Options dropdown menu, click Delete.
- Select Bash or PowerShell from the dropdown menu.
- Copy the command into your terminal window and run it.
This step deletes the Kubernetes Sensor and the
Carbon Black Cloud operator from your cluster.
Important: If you execute the command without removing the cluster from the console in the next step, the cluster status becomes
Critical after a certain time. In this case, you can re-add or remove the cluster.
- Click Delete.
Important: If you click
Delete without executing the command from the previous step, the Kubernetes Sensor and the
Carbon Black Cloud operator remain on your cluster without any activity.