# Kubernetes Installation Deploy Telegen on Kubernetes using kubectl manifests. ## Prerequisites - Kubernetes 1.21+ - kubectl configured with cluster access - Nodes running Linux 4.18+ kernel - Cluster admin permissions (for RBAC) --- ## Agent Mode (DaemonSet) Agent mode deploys Telegen on every node for local eBPF instrumentation. ### Step 1: Create Namespace ```bash kubectl create namespace telegen ``` ### Step 2: Apply RBAC ```bash kubectl apply -f - <= 5.8 # - BPF filesystem not mounted: check /sys/fs/bpf ``` ### Permission Denied Errors Ensure the DaemonSet has: - `hostPID: true` - `hostNetwork: true` - `privileged: true` security context - Required capabilities (SYS_ADMIN, BPF, etc.) ### No Telemetry Arriving ```bash # Check OTLP endpoint connectivity kubectl exec -n telegen -it $(kubectl get pod -n telegen -l app.kubernetes.io/name=telegen -o jsonpath='{.items[0].metadata.name}') -- \ wget -q -O- http://otel-collector.observability:4317/health ``` --- ## Next Steps - {doc}`helm` - Simplified deployment with Helm - {doc}`../configuration/agent-mode` - Agent configuration options