Skip to content

Commit

Permalink
Update k8s-agent-operator.mdx
Browse files Browse the repository at this point in the history
style changes
  • Loading branch information
jeff-colucci authored Oct 15, 2024
1 parent 66e0b71 commit 83f6ec5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Once an application is monitored, it's not automatically upgraded to a newer ver

## Remove APM instrumentation in applications [#remove-apm-instrumentation]

To remove the APM instrumentation in an application, you must remove the matching label selector inside either the podLabelSelector or namespaceLabelSelector used by the Kubernetes agent operator and then simply restart the deployment. In a few seconds, you will see that the APM agents have been automatically removed.
To remove the APM instrumentation in an application, you must remove the matching label selector inside either the `podLabelSelector` or `namespaceLabelSelector` used by the Kubernetes agent operator, then restart the deployment. In a few seconds, you will see that the APM agents have been automatically removed.

## Updating the Kubernetes agent operator [#upgrading-k8s-operator]

Expand Down Expand Up @@ -374,7 +374,7 @@ If your applications are not instrumented, you should check the following:
kubectl get instrumentation -n NAMESPACE
```

* Check that the pod has the required labels that enable automatic instrumentation through CR when using podLabelSelector. Similarly, check that the namespace has the required labels when using namespaceLabelSelector inside the CR.
* Check that the pod has the required labels that enable automatic instrumentation through CR when using `podLabelSelector`. Similarly, check that the namespace has the required labels when using `namespaceLabelSelector` inside the CR.

```shell
kubectl get pod POD_NAME -n NAMESPACE -o jsonpath='{.metadata.annotations}'
Expand Down

0 comments on commit 83f6ec5

Please sign in to comment.