Skip to content

Commit

Permalink
Convert registry to k8s.gcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Dec 22, 2017
1 parent 4e6b5f0 commit 40f5426
Show file tree
Hide file tree
Showing 39 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion cassandra/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM gcr.io/google_containers/ubuntu-slim:0.9
FROM k8s.gcr.io/ubuntu-slim:0.9

ARG BUILD_DATE
ARG VCS_REF
Expand Down
4 changes: 2 additions & 2 deletions guestbook-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
# Build the guestbook-go example

# Usage:
# [VERSION=v3] [REGISTRY="gcr.io/google_containers"] make build
# [VERSION=v3] [REGISTRY="k8s.gcr.io"] make build
VERSION?=v3
REGISTRY?=gcr.io/google_containers
REGISTRY?=k8s.gcr.io

release: clean build push clean

Expand Down
2 changes: 1 addition & 1 deletion guestbook-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ This is a simple Go `net/http` ([negroni](https://github.com/codegangsta/negroni
```console
$ kubectl get rc
CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
guestbook guestbook gcr.io/google_containers/guestbook:v3 app=guestbook 3
guestbook guestbook k8s.gcr.io/guestbook:v3 app=guestbook 3
redis-master redis-master redis app=redis,role=master 1
redis-slave redis-slave kubernetes/redis-slave:v2 app=redis,role=slave 2
...
Expand Down
2 changes: 1 addition & 1 deletion guestbook-go/guestbook-controller.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"containers":[
{
"name":"guestbook",
"image":"gcr.io/google_containers/guestbook:v3",
"image":"k8s.gcr.io/guestbook:v3",

This comment has been minimized.

Copy link
@warrensbox

warrensbox Feb 2, 2022

This needs to up updated to reflect that changes in the go file. See #437

"ports":[
{
"name":"http-server",
Expand Down
2 changes: 1 addition & 1 deletion guestbook/all-in-one/guestbook-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
spec:
containers:
- name: master
image: gcr.io/google_containers/redis:e2e # or just image: redis
image: k8s.gcr.io/redis:e2e # or just image: redis
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion guestbook/legacy/redis-master-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: master
image: gcr.io/google_containers/redis:e2e # or just image: redis
image: k8s.gcr.io/redis:e2e # or just image: redis
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion guestbook/redis-master-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: master
image: gcr.io/google_containers/redis:e2e # or just image: redis
image: k8s.gcr.io/redis:e2e # or just image: redis
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion staging/cluster-dns/dns-backend-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: dns-backend
image: gcr.io/google_containers/example-dns-backend:v1
image: k8s.gcr.io/example-dns-backend:v1
ports:
- name: backend-port
containerPort: 8000
2 changes: 1 addition & 1 deletion staging/cluster-dns/dns-frontend-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: dns-frontend
image: gcr.io/google_containers/example-dns-frontend:v1
image: k8s.gcr.io/example-dns-frontend:v1
command:
- python
- client.py
Expand Down
2 changes: 1 addition & 1 deletion staging/cluster-dns/images/backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

TAG = v1
PREFIX = gcr.io/google_containers
PREFIX = k8s.gcr.io
IMAGE = example-dns-backend

all: push
Expand Down
2 changes: 1 addition & 1 deletion staging/cluster-dns/images/frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

TAG = v1
PREFIX = gcr.io/google_containers
PREFIX = k8s.gcr.io
IMAGE = example-dns-frontend

all: push
Expand Down
4 changes: 2 additions & 2 deletions staging/explorer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ explorer: explorer.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./explorer.go

container: explorer
docker build --pull -t gcr.io/google_containers/explorer:$(TAG) .
docker build --pull -t k8s.gcr.io/explorer:$(TAG) .

push: container
gcloud docker -- push gcr.io/google_containers/explorer:$(TAG)
gcloud docker -- push k8s.gcr.io/explorer:$(TAG)

clean:
rm -f explorer
2 changes: 1 addition & 1 deletion staging/explorer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Explorer is a little container for examining the runtime environment Kubernetes produces for your pods.

The intended use is to substitute gcr.io/google_containers/explorer for your intended container, and then visit it via the proxy.
The intended use is to substitute k8s.gcr.io/explorer for your intended container, and then visit it via the proxy.

Currently, you can look at:
* The environment variables to make sure Kubernetes is doing what you expect.
Expand Down
2 changes: 1 addition & 1 deletion staging/explorer/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: explorer
image: gcr.io/google_containers/explorer:1.0
image: k8s.gcr.io/explorer:1.0
args: ["-port=8080"]
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion staging/spark/spark-gluster/spark-master-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: spark-master
image: gcr.io/google_containers/spark:1.5.2_v1
image: k8s.gcr.io/spark:1.5.2_v1
command: ["/start-master"]
ports:
- containerPort: 7077
Expand Down
2 changes: 1 addition & 1 deletion staging/spark/spark-gluster/spark-worker-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: spark-worker
image: gcr.io/google_containers/spark:1.5.2_v1
image: k8s.gcr.io/spark:1.5.2_v1
command: ["/start-worker"]
ports:
- containerPort: 8888
Expand Down
2 changes: 1 addition & 1 deletion staging/spark/spark-master-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: spark-master
image: gcr.io/google_containers/spark:1.5.2_v1
image: k8s.gcr.io/spark:1.5.2_v1
command: ["/start-master"]
ports:
- containerPort: 7077
Expand Down
2 changes: 1 addition & 1 deletion staging/spark/spark-worker-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: spark-worker
image: gcr.io/google_containers/spark:1.5.2_v1
image: k8s.gcr.io/spark:1.5.2_v1
command: ["/start-worker"]
ports:
- containerPort: 8081
Expand Down
2 changes: 1 addition & 1 deletion staging/spark/zeppelin-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: zeppelin
image: gcr.io/google_containers/zeppelin:v0.5.6_v1
image: k8s.gcr.io/zeppelin:v0.5.6_v1
ports:
- containerPort: 8080
resources:
Expand Down
2 changes: 1 addition & 1 deletion staging/storage/redis/redis-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: redis
image: gcr.io/google_containers/redis:v1
image: k8s.gcr.io/redis:v1
ports:
- containerPort: 6379
resources:
Expand Down
2 changes: 1 addition & 1 deletion staging/storage/redis/redis-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
spec:
containers:
- name: master
image: gcr.io/google_containers/redis:v1
image: k8s.gcr.io/redis:v1
env:
- name: MASTER
value: "true"
Expand Down
2 changes: 1 addition & 1 deletion staging/storage/redis/redis-sentinel-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: sentinel
image: gcr.io/google_containers/redis:v1
image: k8s.gcr.io/redis:v1
env:
- name: SENTINEL
value: "true"
Expand Down
2 changes: 1 addition & 1 deletion staging/storage/rethinkdb/admin-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: rethinkdb-admin
spec:
containers:
- image: gcr.io/google_containers/rethinkdb:1.16.0_1
- image: k8s.gcr.io/rethinkdb:1.16.0_1
name: rethinkdb
env:
- name: POD_NAMESPACE
Expand Down
2 changes: 1 addition & 1 deletion staging/storage/rethinkdb/rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
role: replicas
spec:
containers:
- image: gcr.io/google_containers/rethinkdb:1.16.0_1
- image: k8s.gcr.io/rethinkdb:1.16.0_1
name: rethinkdb
env:
- name: POD_NAMESPACE
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/fibre_channel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you ssh to that machine, you can run `docker ps` to see the actual pod.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
090ac457ddc2 kubernetes/pause "/pause" 12 minutes ago Up 12 minutes k8s_fcpd-rw.aae720ec_fcpd_default_4024318f-4121-11e5-a294-e839352ddd54_99eb5415
5e2629cf3e7b kubernetes/pause "/pause" 12 minutes ago Up 12 minutes k8s_fcpd-ro.857720dc_fcpd_default_4024318f-4121-11e5-a294-e839352ddd54_c0175742
2948683253f7 gcr.io/google_containers/pause:0.8.0 "/pause" 12 minutes ago Up 12 minutes k8s_POD.7be6d81d_fcpd_default_4024318f-4121-11e5-a294-e839352ddd54_8d9dd7bf
2948683253f7 k8s.gcr.io/pause:0.8.0 "/pause" 12 minutes ago Up 12 minutes k8s_POD.7be6d81d_fcpd_default_4024318f-4121-11e5-a294-e839352ddd54_8d9dd7bf
```

## Multipath
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/nfs/nfs-server-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: nfs-server
image: gcr.io/google_containers/volume-nfs:0.8
image: k8s.gcr.io/volume-nfs:0.8
ports:
- name: nfs
containerPort: 2049
Expand Down
6 changes: 3 additions & 3 deletions staging/volumes/portworx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The following examples assumes that you already have a running Kubernetes cluste
name: test-portworx-volume-pod
spec:
containers:
- image: gcr.io/google_containers/test-webserver
- image: k8s.gcr.io/test-webserver
name: test-container
volumeMounts:
- mountPath: /test-portworx-volume
Expand Down Expand Up @@ -181,7 +181,7 @@ The following examples assumes that you already have a running Kubernetes cluste
spec:
containers:
- name: test-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test-portworx-volume
Expand Down Expand Up @@ -338,7 +338,7 @@ create Portworx volumes out of band and they will be created automatically.
spec:
containers:
- name: test-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test-portworx-volume
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/portworx/portworx-volume-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: test-portworx-volume-pod
spec:
containers:
- image: gcr.io/google_containers/test-webserver
- image: k8s.gcr.io/test-webserver
name: test-container
volumeMounts:
- mountPath: /test-portworx-volume
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/portworx/portworx-volume-pvcpod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: test-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test-portworx-volume
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/portworx/portworx-volume-pvcscpod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: test-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test-portworx-volume
Expand Down
4 changes: 2 additions & 2 deletions staging/volumes/scaleio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ metadata:
name: pod-0
spec:
containers:
- image: gcr.io/google_containers/test-webserver
- image: k8s.gcr.io/test-webserver
name: pod-0
volumeMounts:
- mountPath: /test-pd
Expand Down Expand Up @@ -221,7 +221,7 @@ metadata:
spec:
containers:
- name: pod-sio-small-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- mountPath: /test
name: test-data
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/scaleio/pod-sc-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: pod-sio-small-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- mountPath: /test
name: test-data
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/scaleio/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: pod-0
spec:
containers:
- image: gcr.io/google_containers/test-webserver
- image: k8s.gcr.io/test-webserver
name: pod-0
volumeMounts:
- mountPath: /test-pd
Expand Down
10 changes: 5 additions & 5 deletions staging/volumes/vsphere/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
name: test-vmdk
spec:
containers:
- image: gcr.io/google_containers/test-webserver
- image: k8s.gcr.io/test-webserver
name: test-container
volumeMounts:
- mountPath: /test-vmdk
Expand Down Expand Up @@ -180,7 +180,7 @@
spec:
containers:
- name: test-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test-vmdk
Expand Down Expand Up @@ -350,7 +350,7 @@
spec:
containers:
- name: test-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test-vmdk
Expand Down Expand Up @@ -568,7 +568,7 @@
spec:
containers:
- name: test-container
image: gcr.io/google_containers/test-webserver
image: k8s.gcr.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test
Expand Down Expand Up @@ -647,7 +647,7 @@ vSphere volumes can be consumed by Stateful Sets.
spec:
containers:
- name: nginx
image: gcr.io/google_containers/nginx-slim:0.8
image: k8s.gcr.io/nginx-slim:0.8
ports:
- containerPort: 80
name: web
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/vsphere/simple-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
spec:
containers:
- name: nginx
image: gcr.io/google_containers/nginx-slim:0.8
image: k8s.gcr.io/nginx-slim:0.8
ports:
- containerPort: 80
name: web
Expand Down
2 changes: 1 addition & 1 deletion staging/volumes/vsphere/vsphere-volume-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: test-vmdk
spec:
containers:
- image: gcr.io/google_containers/test-webserver
- image: k8s.gcr.io/test-webserver
name: test-container
volumeMounts:
- mountPath: /test-vmdk
Expand Down
Loading

0 comments on commit 40f5426

Please sign in to comment.