Skip to content

Commit 1010bee

Browse files
committed
Update k8s.md
1 parent 7e8399b commit 1010bee

File tree

1 file changed

+23
-0
lines changed
  • docs/_include/general-shipping

1 file changed

+23
-0
lines changed

docs/_include/general-shipping/k8s.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,29 @@ config:
322322
```
323323
Full configuration options avilable in [opentelemetry ebpf instrumentation (obi) docs](https://opentelemetry.io/docs/zero-code/obi/configure/service-discovery/)
324324

325+
### Security context
326+
Default daemonset security context:
327+
```yaml
328+
securityContext:
329+
privileged: false
330+
runAsUser: 0
331+
runAsGroup: 0
332+
readOnlyRootFilesystem: true
333+
capabilities:
334+
# Minimal required capabilities for application observability
335+
# ref: https://opentelemetry.io/docs/zero-code/obi/security/
336+
add:
337+
- BPF
338+
- PERFMON
339+
- SYS_PTRACE
340+
- DAC_READ_SEARCH
341+
- CHECKPOINT_RESTORE
342+
- CAP_KILL
343+
- NET_RAW
344+
- SYS_ADMIN
345+
drop:
346+
- ALL
347+
```
325348

326349
### Context Propagation
327350
- **gRPC/HTTP/2**: Network-level propagation doesn't support these protocols. Go services can use library-level injection.

0 commit comments

Comments
 (0)