Skip to content

Commit

Permalink
Use MCR images for ones in kubemark
Browse files Browse the repository at this point in the history
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
  • Loading branch information
lzhecheng authored and k8s-infra-cherrypick-robot committed Jan 8, 2024
1 parent 26526b5 commit ffb85e3
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion tests/kubemark/configs/density/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
group: {{.Group}}
spec:
containers:
- image: registry.k8s.io/pause:3.1
- image: mcr.microsoft.com/oss/kubernetes/pause:3.1
imagePullPolicy: IfNotPresent
name: {{.Name}}
ports:
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/density/legacy/rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
group: {{.Group}}
spec:
containers:
- image: registry.k8s.io/pause:3.1
- image: mcr.microsoft.com/oss/kubernetes/pause:3.1
imagePullPolicy: IfNotPresent
name: {{.Name}}
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: {{.Name}}
image: registry.k8s.io/pause:3.1
image: mcr.microsoft.com/oss/kubernetes/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex, $vol := Seq .VolumesPerPod }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: {{.Name}}
image: registry.k8s.io/pause:3.1
image: mcr.microsoft.com/oss/kubernetes/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex, $vol := Seq .VolumesPerPod }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: {{.Name}}
image: registry.k8s.io/pause:3.1
image: mcr.microsoft.com/oss/kubernetes/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex, $vol := Seq .VolumesPerPod }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: {{.Name}}
image: registry.k8s.io/pause:3.1
image: mcr.microsoft.com/oss/kubernetes/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex, $vol := Seq .VolumesPerPod }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: {{.Name}}
image: registry.k8s.io/pause:3.1
image: mcr.microsoft.com/oss/kubernetes/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex, $vol := Seq .VolumesPerPod }}
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/l4ilb/dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
spec:
containers:
- name: {{.Name}}
image: nginx
image: mcr.microsoft.com/mirror/docker/library/nginx:1.25
ports:
- containerPort: 8080
4 changes: 2 additions & 2 deletions tests/kubemark/configs/load/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ steps:
- basename: daemonset
objectTemplatePath: daemonset.yaml
templateFillMap:
Image: registry.k8s.io/pause:3.0
Image: mcr.microsoft.com/oss/kubernetes/pause:3.1
{{end}}
- namespaceRange:
min: 1
Expand Down Expand Up @@ -438,7 +438,7 @@ steps:
- basename: daemonset
objectTemplatePath: daemonset.yaml
templateFillMap:
Image: registry.k8s.io/pause:3.1
Image: mcr.microsoft.com/oss/kubernetes/pause:3.1
{{end}}
{{if $ENABLE_JOBS}}
- namespaceRange:
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/load/daemonset.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{$Image := DefaultParam .Image "registry.k8s.io/pause:3.1"}}
{{$Image := DefaultParam .Image "mcr.microsoft.com/oss/kubernetes/pause:3.1"}}

apiVersion: apps/v1
kind: DaemonSet
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/load/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
svc: {{.SvcName}}-{{.Index}}
spec:
containers:
- image: registry.k8s.io/pause:3.1
- image: mcr.microsoft.com/oss/kubernetes/pause:3.1
name: {{.Name}}
resources:
requests:
Expand Down
4 changes: 2 additions & 2 deletions tests/kubemark/configs/load/experimental-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ steps:
- basename: daemonset
objectTemplatePath: daemonset.yaml
templateFillMap:
Image: registry.k8s.io/pause:3.0
Image: mcr.microsoft.com/oss/kubernetes/pause:3.1
{{end}}
- namespaceRange:
min: 1
Expand Down Expand Up @@ -616,7 +616,7 @@ steps:
- basename: daemonset
objectTemplatePath: daemonset.yaml
templateFillMap:
Image: registry.k8s.io/pause:3.1
Image: mcr.microsoft.com/oss/kubernetes/pause:3.1
{{end}}
{{if $ENABLE_JOBS}}
- namespaceRange:
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/load/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
containers:
- name: {{.Name}}
# TODO(#799): We should test the "run-to-completion" workflow and hence don't use pause pods.
image: registry.k8s.io/pause:3.1
image: mcr.microsoft.com/oss/kubernetes/pause:3.1
resources:
requests:
cpu: 10m
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/load/legacy/rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
svc: {{.SvcName}}-{{.Index}}
spec:
containers:
- image: registry.k8s.io/pause:3.1
- image: mcr.microsoft.com/oss/kubernetes/pause:3.1
name: {{.Name}}
resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/load/simple-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
group: {{.Group}}
spec:
containers:
- image: registry.k8s.io/pause:3.1
- image: mcr.microsoft.com/oss/kubernetes/pause:3.1
imagePullPolicy: IfNotPresent
name: {{.Name}}
ports:
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/load/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
spec:
containers:
- name: {{.Name}}
image: registry.k8s.io/pause:3.1
image: mcr.microsoft.com/oss/kubernetes/pause:3.1
ports:
- containerPort: 80
name: web
Expand Down
2 changes: 1 addition & 1 deletion tests/kubemark/configs/node-throughput/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Constants
{{$POD_COUNT := DefaultParam .POD_COUNT 100}}
{{$POD_THROUGHPUT := DefaultParam .POD_THROUGHPUT 5}}
{{$CONTAINER_IMAGE := DefaultParam .CONTAINER_IMAGE "registry.k8s.io/pause:3.1"}}
{{$CONTAINER_IMAGE := DefaultParam .CONTAINER_IMAGE "mcr.microsoft.com/oss/kubernetes/pause:3.1"}}
{{$POD_STARTUP_LATENCY_THRESHOLD := DefaultParam .POD_STARTUP_LATENCY_THRESHOLD "5s"}}
{{$OPERATION_TIMEOUT := DefaultParam .OPERATION_TIMEOUT "15m"}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
POD_COUNT: 80
POD_THROUGHPUT: 0.03
CONTAINER_IMAGE: registry.k8s.io/pause:3.4.1
CONTAINER_IMAGE: mcr.microsoft.com/oss/kubernetes/pause:3.4.1
OPERATION_TIMEOUT: 90m
POD_STARTUP_LATENCY_THRESHOLD: 60m
2 changes: 1 addition & 1 deletion tests/kubemark/templates/hollow-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
initContainers:
- name: init-inotify-limit
image: docker.io/busybox:latest
image: mcr.microsoft.com/mirror/docker/library/busybox:1.35
command: ["sysctl", "-w", "fs.inotify.max_user_instances=200"]
securityContext:
privileged: true
Expand Down

0 comments on commit ffb85e3

Please sign in to comment.