github.com/grafana/pyroscope@v1.18.0/examples/grafana-alloy-auto-instrumentation/ebpf-otel/kubernetes/cpu-stress.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: cpu-stress 5 spec: 6 replicas: 1 7 selector: 8 matchLabels: 9 app: cpu-stress 10 template: 11 metadata: 12 labels: 13 app: cpu-stress 14 spec: 15 containers: 16 - name: stress 17 image: polinux/stress 18 command: ["stress"] 19 args: ["--cpu", "2"] 20 resources: 21 limits: 22 cpu: "2" 23 requests: 24 cpu: "1"