Skip to content

Commit

Permalink
Merge pull request kubernetes#2232 from ameukam/switch-to-ar
Browse files Browse the repository at this point in the history
Switch to registry.k8s.io
  • Loading branch information
k8s-ci-robot committed Feb 17, 2023
2 parents 2233c8d + 8e1918f commit 136a78e
Show file tree
Hide file tree
Showing 31 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion clusterloader2/docs/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ spec:
group: test-pod
spec:
containers:
- image: k8s.gcr.io/pause:3.1
- image: registry.k8s.io/pause:3.1
name: {{.Name}}
```
## Execute test
Expand Down
18 changes: 9 additions & 9 deletions clusterloader2/drivers/gcp-csi-driver-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.1
image: registry.k8s.io/sig-storage/csi-provisioner:v2.2.1
livenessProbe:
failureThreshold: 1
httpGet:
Expand Down Expand Up @@ -507,7 +507,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: k8s.gcr.io/sig-storage/csi-attacher:v3.2.1
image: registry.k8s.io/sig-storage/csi-attacher:v3.2.1
livenessProbe:
failureThreshold: 1
httpGet:
Expand Down Expand Up @@ -536,7 +536,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: k8s.gcr.io/sig-storage/csi-resizer:v1.2.0
image: registry.k8s.io/sig-storage/csi-resizer:v1.2.0
livenessProbe:
failureThreshold: 1
httpGet:
Expand Down Expand Up @@ -565,7 +565,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3
image: registry.k8s.io/sig-storage/csi-snapshotter:v3.0.3
name: csi-snapshotter
volumeMounts:
- mountPath: /csi
Expand All @@ -576,7 +576,7 @@ spec:
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/cloud-sa/cloud-sa.json
image: k8s.gcr.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.3.4
image: registry.k8s.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.3.4
name: gce-pd-driver
volumeMounts:
- mountPath: /csi
Expand Down Expand Up @@ -620,7 +620,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.3.0
name: csi-driver-registrar
volumeMounts:
- mountPath: /csi
Expand All @@ -631,7 +631,7 @@ spec:
- --v=5
- --endpoint=unix:/csi/csi.sock
- --run-controller-service=false
image: k8s.gcr.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.3.4
image: registry.k8s.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.3.4
name: gce-pd-driver
securityContext:
privileged: true
Expand Down Expand Up @@ -716,7 +716,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.3.0
name: csi-driver-registrar
volumeMounts:
- mountPath: /csi
Expand All @@ -727,7 +727,7 @@ spec:
- --v=5
- --endpoint=unix:/csi/csi.sock
- --run-controller-service=false
image: k8s.gcr.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.3.4
image: registry.k8s.io/cloud-provider-gcp/gcp-compute-persistent-disk-csi-driver:v1.3.4
name: gce-pd-driver
volumeMounts:
- mountPath: C:\var\lib\kubelet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ spec:
spec:
containers:
- name: agnhost
image: k8s.gcr.io/e2e-test-images/agnhost:2.32
image: registry.k8s.io/e2e-test-images/agnhost:2.32
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
app.kubernetes.io/version: 2.0.0-rc.0
spec:
containers:
- image: k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.0.0-rc.0
- image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.0.0-rc.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: resource-consumer
image: k8s.gcr.io/e2e-test-images/resource-consumer:1.9
image: registry.k8s.io/e2e-test-images/resource-consumer:1.9
command:
- ./consume-cpu/consume-cpu
args:
Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/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: k8s.gcr.io/pause:3.1
- image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
name: {{.Name}}
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ spec:
spec:
schedulerName: default-scheduler
containers:
- image: k8s.gcr.io/pause:3.1
- image: registry.k8s.io/pause:3.1
name: {{.Name}}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
topologyKey: "kubernetes.io/hostname"
weight: 1
containers:
- image: k8s.gcr.io/pause:3.1
- image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
name: {{.Name}}
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
topologyKey: "kubernetes.io/hostname"
weight: 1
containers:
- image: k8s.gcr.io/pause:3.1
- image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
name: {{.Name}}
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
matchLabels:
group: {{.Group}}
containers:
- image: k8s.gcr.io/pause:3.1
- image: registry.k8s.io/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: k8s.gcr.io/pause:3.1
image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex := Loop .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: k8s.gcr.io/pause:3.1
image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex := Loop .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: k8s.gcr.io/pause:3.1
image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex := Loop .VolumesPerPod }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
spec:
containers:
- name: {{.Name}}
image: k8s.gcr.io/pause:3.1
image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex := Loop .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: k8s.gcr.io/pause:3.1
image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex := Loop .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: k8s.gcr.io/pause:3.1
image: registry.k8s.io/pause:3.1
imagePullPolicy: IfNotPresent
volumeMounts:
{{ range $volumeIndex := Loop .VolumesPerPod }}
Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/load/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
{{$EXEC_TIMEOUT := DefaultParam .CL2_EXEC_TIMEOUT "3600s"}}
{{$SLEEP_AFTER_EXEC_DURATION := DefaultParam .CL2_SLEEP_AFTER_EXEC_DURATION "0s"}}

{{$latencyPodImage := DefaultParam .CL2_LATENCY_POD_IMAGE "k8s.gcr.io/pause:3.1"}}
{{$latencyPodImage := DefaultParam .CL2_LATENCY_POD_IMAGE "registry.k8s.io/pause:3.1"}}
{{$defaultQps := DefaultParam .CL2_DEFAULT_QPS (IfThenElse (le .Nodes 500) 10 100)}}

name: load
Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/load/daemonset.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{$HostNetworkMode := DefaultParam .CL2_USE_HOST_NETWORK_PODS false}}
{{$Image := DefaultParam .Image "k8s.gcr.io/pause:3.1"}}
{{$Image := DefaultParam .Image "registry.k8s.io/pause:3.1"}}
{{$Env := DefaultParam .Env ""}}
{{$DaemonSetSurge := DefaultParam .CL2_DS_SURGE (MaxInt 10 (DivideInt .Nodes 20))}} # 5% of nodes, but not less than 10
{{$RUN_ON_ARM_NODES := DefaultParam .CL2_RUN_ON_ARM_NODES false}}
Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/load/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
./dnsperfgo -duration 60s -idle-duration 10s -inputfile /var/configmap/all-queries -qps {{$dnsQPSPerClient}};
name: {{.Name}}-dnsperf
{{else}}
- image: k8s.gcr.io/pause:3.1
- image: registry.k8s.io/pause:3.1
name: {{.Name}}
{{end}}
resources:
Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/load/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
containers:
- name: {{.Name}}
# TODO(#799): We should test the "run-to-completion" workflow and hence don't use pause pods.
image: k8s.gcr.io/pause:3.1
image: registry.k8s.io/pause:3.1
resources:
# Keep the CpuRequest/MemoryRequest request equal percentage of 1-core, 4GB node.
# For now we're setting it to 0.5%.
Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/load/modules/reconcile-objects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{$operationTimeout := .operationTimeout}}

# DaemonSets
{{$daemonSetImage := DefaultParam .daemonSetImage "k8s.gcr.io/pause:3.0"}}
{{$daemonSetImage := DefaultParam .daemonSetImage "registry.k8s.io/pause:3.0"}}
{{$daemonSetReplicas := .daemonSetReplicas}}
{{$daemonSetEnv := .daemonSetEnv}}

Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/load/simple-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{$CpuRequest := DefaultParam .CpuRequest "5m"}}
{{$EnvVar := DefaultParam .EnvVar "a"}}
{{$MemoryRequest := DefaultParam .MemoryRequest "20M"}}
{{$Image := DefaultParam .Image "k8s.gcr.io/pause:3.1"}}
{{$Image := DefaultParam .Image "registry.k8s.io/pause:3.1"}}
{{$RUN_ON_ARM_NODES := DefaultParam .CL2_RUN_ON_ARM_NODES false}}

apiVersion: apps/v1
Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/load/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
hostNetwork: {{$HostNetworkMode}}
containers:
- name: {{.Name}}
image: k8s.gcr.io/pause:3.1
image: registry.k8s.io/pause:3.1
ports:
- containerPort: 80
name: web
Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/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 "k8s.gcr.io/pause:3.1"}}
{{$CONTAINER_IMAGE := DefaultParam .CONTAINER_IMAGE "registry.k8s.io/pause:3.1"}}
{{$POD_STARTUP_LATENCY_THRESHOLD := DefaultParam .POD_STARTUP_LATENCY_THRESHOLD "5s"}}
{{$OPERATION_TIMEOUT := DefaultParam .OPERATION_TIMEOUT "15m"}}

Expand Down
2 changes: 1 addition & 1 deletion clusterloader2/testing/windows-tests/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Constants
{{$POD_COUNT := DefaultParam .CL2_POD_COUNT 80}}
{{$POD_THROUGHPUT := DefaultParam .CL2_POD_THROUGHPUT 0.03}}
{{$CONTAINER_IMAGE := DefaultParam .CL2_CONTAINER_IMAGE "k8s.gcr.io/pause:3.4.1"}}
{{$CONTAINER_IMAGE := DefaultParam .CL2_CONTAINER_IMAGE "registry.k8s.io/pause:3.4.1"}}
{{$POD_STARTUP_LATENCY_THRESHOLD := DefaultParam .CL2_POD_STARTUP_LATENCY_THRESHOLD "60m"}}
{{$OPERATION_TIMEOUT := DefaultParam .CL2_OPERATION_TIMEOUT "90m"}}

Expand Down
2 changes: 1 addition & 1 deletion dns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Additional sql queries can be found in `sql/`.

# Monitoring

CoreDNS and kube-dns v1.5+ (image `k8s.gcr.io/kubedns-amd64:1.9`)
CoreDNS and kube-dns v1.5+ (image `registry.k8s.io/kubedns-amd64:1.9`)
can export [Prometheus](http://prometheus.io) metrics. A sample
prometheus pod that scrapes kube-dns metrics is defined in
`cluster/prometheus.yaml` and can be created using kubectl:
Expand Down
2 changes: 1 addition & 1 deletion dns/cluster/dnsperf-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
terminationGracePeriodSeconds: 1
containers:
- command: ["sh", "-c", "while true; do echo `date`: MARK; sleep 10; done"]
image: k8s.gcr.io/kube-dns-perf-client-amd64:1.1
image: registry.k8s.io/kube-dns-perf-client-amd64:1.1
imagePullPolicy: Always
name: dnsperf
resources:
Expand Down
2 changes: 1 addition & 1 deletion dns/cluster/dnsperf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
terminationGracePeriodSeconds: 1
containers:
- command: ["sh", "-c", "while true; do echo `date`: MARK; sleep 10; done"]
image: k8s.gcr.io/kube-dns-perf-client-amd64:1.1
image: registry.k8s.io/kube-dns-perf-client-amd64:1.1
imagePullPolicy: Always
name: dnsperf
resources:
Expand Down
8 changes: 4 additions & 4 deletions dns/cluster/kube-dns-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
terminationGracePeriodSeconds: 1
containers:
- name: kubedns
image: k8s.gcr.io/kubedns-amd64:1.9
image: registry.k8s.io/kubedns-amd64:1.9
imagePullPolicy: Always
resources:
requests:
Expand Down Expand Up @@ -68,7 +68,7 @@ spec:
name: metrics
protocol: TCP
- name: dnsmasq
image: k8s.gcr.io/kube-dnsmasq-amd64:1.4
image: registry.k8s.io/kube-dnsmasq-amd64:1.4
livenessProbe:
httpGet:
path: /healthz-dnsmasq
Expand All @@ -94,7 +94,7 @@ spec:
requests:
cpu: 100m
- name: dnsmasq-metrics
image: k8s.gcr.io/dnsmasq-metrics-amd64:1.0
image: registry.k8s.io/dnsmasq-metrics-amd64:1.0
livenessProbe:
httpGet:
path: /metrics
Expand All @@ -115,7 +115,7 @@ spec:
requests:
memory: 10Mi
- name: healthz
image: k8s.gcr.io/exechealthz-amd64:1.2
image: registry.k8s.io/exechealthz-amd64:1.2
resources:
limits:
memory: 50Mi
Expand Down
2 changes: 1 addition & 1 deletion slo-monitor/slo-monitor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: slo-monitor
image: k8s.gcr.io/slo-monitor:0.12.0
image: registry.k8s.io/slo-monitor:0.12.0
command:
- /slo-monitor
- --alsologtostderr=true
Expand Down
2 changes: 1 addition & 1 deletion slo-monitor/slo-monitor-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
hostNetwork: true
containers:
- name: slo-monitor
image: k8s.gcr.io/slo-monitor:0.12.0
image: registry.k8s.io/slo-monitor:0.12.0
command:
- /slo-monitor
- --alsologtostderr=true
Expand Down

0 comments on commit 136a78e

Please sign in to comment.