Skip to content

Commit d1e54ad

Browse files
authored
Merge pull request #3792 from serathius/load-informer-pods
Switch the load test informer to list pods in all namespaces
2 parents 68b3f1e + 9495e69 commit d1e54ad

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

clusterloader2/testing/load/modules/informer/deployment.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: {{.Name}}
18-
image: gcr.io/k8s-staging-perf-tests/watch-list:v0.0.1
18+
image: gcr.io/k8s-staging-perf-tests/watch-list:v0.0.3
1919
resources:
2020
requests:
2121
memory: "16Gi"
@@ -24,4 +24,11 @@ spec:
2424
memory: "16Gi"
2525
cpu: "6"
2626
command: [ "watch-list" ]
27-
args: [ "--alsologtostderr=true", "--v=4", "--timeout=100h", "--count=1", "--enableWatchListFeature=false"]
27+
args:
28+
- "--alsologtostderr=true"
29+
- "--v=4"
30+
- "--timeout=100h"
31+
- "--count=1"
32+
- "--enableWatchListFeature=false"
33+
- "--api-version=v1"
34+
- "--resource=pods"

clusterloader2/testing/load/modules/informer/role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ metadata:
44
name: {{.Name}}
55
rules:
66
- apiGroups: [""]
7-
resources: ["secrets"]
7+
resources: ["pods"]
88
verbs: ["get", "list", "watch"]

0 commit comments

Comments
 (0)