k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/exporters/metrics-server/resourceConsumer.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: resource-consumer 5 namespace: default 6 spec: 7 replicas: 10 8 selector: 9 matchLabels: 10 app: resource-consumer 11 template: 12 metadata: 13 labels: 14 app: resource-consumer 15 spec: 16 containers: 17 - name: resource-consumer 18 image: registry.k8s.io/e2e-test-images/resource-consumer:1.9 19 command: 20 - ./consume-cpu/consume-cpu 21 args: 22 - --duration-sec=3600 23 - --millicores=10 24 resources: 25 requests: 26 cpu: 10m 27 limits: 28 cpu: 10m