k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/testing/request-benchmark/deployment.yaml (about) 1 {{$image := DefaultParam .CL2_BENCHMARK_IMAGE "gcr.io/k8s-testimages/perf-tests-util/request-benchmark:latest"}} 2 {{$cpu := DefaultParam .CL2_BENCHMARK_POD_CPU (AddInt .Inflight 1)}} 3 {{$memory := DefaultParam .CL2_BENCHMARK_POD_MEMORY "100Mi"}} 4 5 apiVersion: apps/v1 6 kind: Deployment 7 metadata: 8 name: {{.Name}} 9 labels: 10 group: benchmark 11 spec: 12 replicas: {{.Replicas}} 13 selector: 14 matchLabels: 15 name: {{.Name}} 16 template: 17 metadata: 18 labels: 19 name: {{.Name}} 20 group: benchmark 21 spec: 22 containers: 23 - name: {{.Name}} 24 image: {{$image}} 25 imagePullPolicy: Always 26 args: 27 - --inflight={{.Inflight}} 28 - --namespace={{.Namespace}} 29 - --uri={{.Uri}} 30 - --qps={{.QPS}} 31 resources: 32 requests: 33 cpu: {{$cpu}} 34 memory: {{$memory}} 35 limits: 36 cpu: {{$cpu}} 37 memory: {{$memory}}