13
13
{{$operationTimeout := .operationTimeout}}
14
14
15
15
# DaemonSets
16
- {{$daemonSetImage := DefaultParam .daemonSetImage "registry.k8s.io /pause:3.9"}}
16
+ {{$daemonSetImage := DefaultParam .daemonSetImage "$registryK8sRepo /pause:3.9"}}
17
17
{{$daemonSetReplicas := .daemonSetReplicas}}
18
18
{{$daemonSetEnv := .daemonSetEnv}}
19
19
55
55
{{$NET_POLICY_ENFORCEMENT_LATENCY_TARGET_LABEL_VALUE := DefaultParam .CL2_NET_POLICY_ENFORCEMENT_LATENCY_TARGET_LABEL_VALUE "enforcement-latency"}}
56
56
{{$NET_POLICY_SERVER_EVERY_NTH_POD := DefaultParam .CL2_NET_POLICY_SERVER_EVERY_NTH_POD 3}}
57
57
58
+ # # Image Repositories
59
+ {{$registryK8sRepo := DefaultParam .CL2_REGISTRY_K8S_REPO "registry.k8s.io"}}
60
+ {{$gcrRepo := DefaultParam .CL2_GCR_REPO "gcr.io"}}
61
+
58
62
steps :
59
63
- name : Starting measurement for '{{$actionName}}'
60
64
measurements :
@@ -96,6 +100,7 @@ steps:
96
100
templateFillMap :
97
101
Image : {{$daemonSetImage}}
98
102
Env : {{$daemonSetEnv}}
103
+ RegistryK8sRepo : {{$registryK8sRepo}}
99
104
{{end}}
100
105
- namespaceRange :
101
106
min : 1
@@ -115,6 +120,7 @@ steps:
115
120
ReplicasMin : {{MultiplyInt $bigDeploymentSize $minReplicaFactor}}
116
121
ReplicasMax : {{MultiplyInt $bigDeploymentSize $maxReplicaFactor}}
117
122
SvcName : big-service
123
+ RegistryK8sRepo : {{$registryK8sRepo}}
118
124
- namespaceRange :
119
125
min : 1
120
126
max : {{$namespaces}}
@@ -132,6 +138,7 @@ steps:
132
138
ReplicasMin : {{MultiplyInt $mediumDeploymentSize $minReplicaFactor}}
133
139
ReplicasMax : {{MultiplyInt $mediumDeploymentSize $maxReplicaFactor}}
134
140
SvcName : medium-service
141
+ RegistryK8sRepo : {{$registryK8sRepo}}
135
142
- namespaceRange :
136
143
min : 1
137
144
max : {{$namespaces}}
@@ -154,6 +161,8 @@ steps:
154
161
TargetLabelKey : {{$NET_POLICY_ENFORCEMENT_LATENCY_TARGET_LABEL_KEY}}
155
162
TargetLabelValue : {{$NET_POLICY_ENFORCEMENT_LATENCY_TARGET_LABEL_VALUE}}
156
163
NetPolServerOnEveryNthPod : {{$NET_POLICY_SERVER_EVERY_NTH_POD}}
164
+ RegistryK8sRepo : {{$registryK8sRepo}}
165
+ GcrRepo : {{$gcrRepo}}
157
166
- namespaceRange :
158
167
min : 1
159
168
max : {{$namespaces}}
@@ -167,6 +176,7 @@ steps:
167
176
templateFillMap :
168
177
ReplicasMin : {{MultiplyInt $smallStatefulSetSize $minReplicaFactor}}
169
178
ReplicasMax : {{MultiplyInt $smallStatefulSetSize $maxReplicaFactor}}
179
+ RegistryK8sRepo : {{$registryK8sRepo}}
170
180
- namespaceRange :
171
181
min : 1
172
182
max : {{$namespaces}}
@@ -180,6 +190,7 @@ steps:
180
190
templateFillMap :
181
191
ReplicasMin : {{MultiplyInt $mediumStatefulSetSize $minReplicaFactor}}
182
192
ReplicasMax : {{MultiplyInt $mediumStatefulSetSize $maxReplicaFactor}}
193
+ RegistryK8sRepo : {{$registryK8sRepo}}
183
194
- namespaceRange :
184
195
min : 1
185
196
max : {{$namespaces}}
@@ -192,6 +203,7 @@ steps:
192
203
Completions : {{MultiplyInt $smallJobSize $completionsFactor}}
193
204
ReplicasMin : {{MultiplyInt $smallJobSize $minReplicaFactor}}
194
205
ReplicasMax : {{MultiplyInt $smallJobSize $maxReplicaFactor}}
206
+ RegistryK8sRepo : {{$registryK8sRepo}}
195
207
- namespaceRange :
196
208
min : 1
197
209
max : {{$namespaces}}
@@ -204,6 +216,7 @@ steps:
204
216
Completions : {{MultiplyInt $mediumJobSize $completionsFactor}}
205
217
ReplicasMin : {{MultiplyInt $mediumJobSize $minReplicaFactor}}
206
218
ReplicasMax : {{MultiplyInt $mediumJobSize $maxReplicaFactor}}
219
+ RegistryK8sRepo : {{$registryK8sRepo}}
207
220
- namespaceRange :
208
221
min : 1
209
222
max : {{$namespaces}}
@@ -216,6 +229,7 @@ steps:
216
229
Completions : {{MultiplyInt $bigJobSize $completionsFactor}}
217
230
ReplicasMin : {{MultiplyInt $bigJobSize $minReplicaFactor}}
218
231
ReplicasMax : {{MultiplyInt $bigJobSize $maxReplicaFactor}}
232
+ RegistryK8sRepo : {{$registryK8sRepo}}
219
233
{{if and $is_deleting $ENABLE_PVS}}
220
234
- namespaceRange :
221
235
min : 1
0 commit comments