To detach the peer cluster from the observer, delete the related custom resources. Complete the following steps.
-
Switch to the Kubernetes context of the observer cluster.
-
List the ThanosPeers custom resources on the cluster.
kubectl list ThanosPeers
-
Delete the custom resource of the peer cluster you want to detach.
-
Switch to the Kubernetes context of the peer cluster.
-
List the ThanosEndpoint custom resources on the cluster.
kubectl list ThanosEndpoints
-
Delete the custom resource from the peer cluster.