diff --git a/examples/grafana-agent-auto-instrumentation/java/kubernetes/README.md b/examples/grafana-agent-auto-instrumentation/java/kubernetes/README.md index b5efa52c19..3cb5784e0f 100644 --- a/examples/grafana-agent-auto-instrumentation/java/kubernetes/README.md +++ b/examples/grafana-agent-auto-instrumentation/java/kubernetes/README.md @@ -40,7 +40,7 @@ To use this example: ``` After the deployment is operational, the Grafana Alloy will profile the Java application using the defined configuration. -The example will deploy a Grafana instance in the same cluster, available via the `grafana` service at port 3000. +The example will deploy a Grafana instance in the same cluster, available via the `grafana` service at port 3000. ## Documentation diff --git a/examples/grafana-agent-auto-instrumentation/java/kubernetes/grafana-alloy.yaml b/examples/grafana-agent-auto-instrumentation/java/kubernetes/grafana-alloy.yaml index 2c3de9832b..2ba685c07a 100644 --- a/examples/grafana-agent-auto-instrumentation/java/kubernetes/grafana-alloy.yaml +++ b/examples/grafana-agent-auto-instrumentation/java/kubernetes/grafana-alloy.yaml @@ -71,6 +71,12 @@ spec: privileged: true runAsGroup: 0 runAsUser: 0 + capabilities: + add: + - PERFMON + - SYS_PTRACE + - SYS_RESOURCE + - SYS_ADMIN volumes: - name: agent-config configMap: