Skip to content

Commit

Permalink
Add linux capabilities to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-p committed Oct 3, 2024
1 parent e233947 commit 52ad3c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 52ad3c2

Please sign in to comment.