Skip to content

Commit

Permalink
Merge pull request kubernetes#6268 from jlowdermilk/e2e-gcr
Browse files Browse the repository at this point in the history
Pull e2e images from gcr.io
  • Loading branch information
zmerlynn committed Apr 1, 2015
2 parents fb1a821 + 2d8e93f commit f7f1337
Show file tree
Hide file tree
Showing 42 changed files with 66 additions and 66 deletions.
2 changes: 1 addition & 1 deletion cluster/addons/cluster-monitoring/heapster-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ desiredState:
id: monitoring-heapster
containers:
- name: heapster
image: gcr.io/google-containers/heapster:v0.9
image: gcr.io/google_containers/heapster:v0.9
env:
- name: "INFLUXDB_HOST"
value: "monitoring-influxdb"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ desiredState:
id: monitoring-influx-grafana
containers:
- name: influxdb
image: gcr.io/google-containers/heapster_influxdb:v0.3
image: gcr.io/google_containers/heapster_influxdb:v0.3
ports:
- containerPort: 8083
hostPort: 8083
- containerPort: 8086
hostPort: 8086
- name: grafana
image: gcr.io/google-containers/heapster_grafana:v0.5
image: gcr.io/google_containers/heapster_grafana:v0.5
env:
- name: "HTTP_USER"
value: "admin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google-containers/heapster:v0.9
- image: gcr.io/google_containers/heapster:v0.9
name: heapster
env:
- name: "INFLUXDB_HOST"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ spec:
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google-containers/heapster_influxdb:v0.3
- image: gcr.io/google_containers/heapster_influxdb:v0.3
name: influxdb
ports:
- containerPort: 8083
hostPort: 8083
- containerPort: 8086
hostPort: 8086
- name: grafana
image: gcr.io/google-containers/heapster_grafana:v0.5
image: gcr.io/google_containers/heapster_grafana:v0.5
ports:
- containerPort: 80
env:
Expand Down
4 changes: 2 additions & 2 deletions cluster/addons/dns/kube2sky/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ kube2sky: kube2sky.go
CGO_ENABLED=0 go build -a -installsuffix cgo --ldflags '-w' ./kube2sky.go

container: kube2sky
sudo docker build -t kubernetes/kube2sky .
sudo docker build -t gcr.io/google_containers/kube2sky .

push:
sudo docker push kubernetes/kube2sky
gcloud preview docker push gcr.io/google_containers/kube2sky

clean:
rm -f kube2sky
4 changes: 2 additions & 2 deletions cluster/addons/dns/skydns-rc.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ desiredState:
"-advertise-client-urls=http://127.0.0.1:4001",
]
- name: kube2sky
image: gcr.io/google-containers/kube2sky:1.1
image: gcr.io/google_containers/kube2sky:1.1
command: [
# entrypoint = "/kube2sky",
"-domain={{ pillar['dns_domain'] }}",
]
- name: skydns
image: gcr.io/google-containers/skydns:2015-03-11-001
image: gcr.io/google_containers/skydns:2015-03-11-001
command: [
# entrypoint = "/skydns",
"-machines=http://localhost:4001",
Expand Down
4 changes: 2 additions & 2 deletions cluster/addons/dns/skydns/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ skydns:
CGO_ENABLED=0 go build -a -installsuffix cgo --ldflags '-w' github.com/skynetservices/skydns

container: skydns
sudo docker build -t kubernetes/skydns .
sudo docker build -t gcr.io/google_containers/skydns .

push:
sudo docker push kubernetes/skydns
sudo gcloud preview docker push gcr.io/google_containers/skydns

clean:
rm -f skydns
8 changes: 4 additions & 4 deletions cluster/addons/fluentd-elasticsearch/kibana-image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

TAG = 1.1

build:
docker build -t kubernetes/kibana:$(TAG) .
build:
docker build -t gcr.io/google_containers/kibana:$(TAG) .

push:
docker push kubernetes/kibana:$(TAG)
push:
gcloud preview docker push gcr.io/google_containers/kibana:$(TAG)
6 changes: 3 additions & 3 deletions contrib/for-demos/serve_hostname/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ serve_hostname: serve_hostname.go
CGO_ENABLED=0 go build -a -installsuffix cgo --ldflags '-w' ./serve_hostname.go

container: serve_hostname
sudo docker build -t gcr.io/google-containers/serve_hostname:$(TAG) .
sudo docker tag gcr.io/google-containers/serve_hostname:$(TAG) gcr.io/_b_k8s_authenticated_test/serve_hostname:$(TAG)
sudo docker build -t gcr.io/google_containers/serve_hostname:$(TAG) .
sudo docker tag gcr.io/google_containers/serve_hostname:$(TAG) gcr.io/_b_k8s_authenticated_test/serve_hostname:$(TAG)

push:
gcloud preview docker push gcr.io/google-containers/serve_hostname:$(TAG)
gcloud preview docker push gcr.io/google_containers/serve_hostname:$(TAG)
gcloud preview docker push gcr.io/_b_k8s_authenticated_test/serve_hostname:$(TAG)

clean:
Expand Down
4 changes: 2 additions & 2 deletions contrib/for-demos/test-webserver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ test-webserver: test-webserver.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./test-webserver.go

container: test-webserver
sudo docker build -t kubernetes/test-webserver .
sudo docker build -t gcr.io/google_containers/test-webserver .

push: container
sudo docker push kubernetes/test-webserver
gcloud preview docker push gcr.io/google_containers/test-webserver

clean:
rm -f test-webserver
4 changes: 2 additions & 2 deletions contrib/logging/fluentd-gcp-image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

TAG = 1.2

build:
build:
docker build -t gcr.io/google_containers/fluentd-gcp:$(TAG) .

push:
push:
gcloud preview docker push gcr.io/google_containers/fluentd-gcp:$(TAG)

2 changes: 1 addition & 1 deletion examples/gce-pd/testpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1beta1
desiredState:
manifest:
containers:
- image: kubernetes/pause
- image: gcr.io/google_containers/pause
name: testpd
volumeMounts:
- mountPath: "/testpd"
Expand Down
2 changes: 1 addition & 1 deletion examples/gce-pd/v1beta3/testpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: testpd
image: kubernetes/pause
image: gcr.io/google_containers/pause
volumeMounts:
# name must match the volume name below
- name: testpd
Expand Down
2 changes: 1 addition & 1 deletion examples/guestbook/frontend-controller.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "frontend",
"containers": [{
"name": "php-redis",
"image": "kubernetes/example-guestbook-php-redis:v2",
"image": "gcr.io/google_containers/example-guestbook-php-redis:v2",
"ports": [{"name": "http-server", "containerPort": 80}]
}]
}
Expand Down
2 changes: 1 addition & 1 deletion examples/guestbook/redis-master-controller.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "redis-master",
"containers": [{
"name": "redis-master",
"image": "dockerfile/redis",
"image": "gcr.io/google_containers/redis",
"ports": [{"containerPort": 6379}]
}]
}
Expand Down
2 changes: 1 addition & 1 deletion examples/guestbook/redis-slave-controller.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "redis-slave",
"containers": [{
"name": "redis-slave",
"image": "kubernetes/redis-slave:v2",
"image": "gcr.io/google_containers/redis-slave:v2",
"ports": [{"containerPort": 6379}]
}]
}
Expand Down
4 changes: 2 additions & 2 deletions examples/limitrange/invalid-pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"id": "invalid-pod",
"containers": [{
"name": "kubernetes-serve-hostname",
"image": "kubernetes/serve_hostname"
"image": "gcr.io/google_containers/serve_hostname"
}]
}
}
}
}
2 changes: 1 addition & 1 deletion examples/limitrange/v1beta3/invalid-pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"spec": {
"containers": [{
"name": "kubernetes-serve-hostname",
"image": "kubernetes/serve_hostname"
"image": "gcr.io/google_containers/serve_hostname"
}]
}
}
2 changes: 1 addition & 1 deletion examples/limitrange/v1beta3/valid-pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"spec": {
"containers": [{
"name": "kubernetes-serve-hostname",
"image": "kubernetes/serve_hostname",
"image": "gcr.io/google_containers/serve_hostname",
"resources": {
"limits": {
"cpu": "1",
Expand Down
2 changes: 1 addition & 1 deletion examples/limitrange/valid-pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"id": "valid-pod",
"containers": [{
"name": "kubernetes-serve-hostname",
"image": "kubernetes/serve_hostname",
"image": "gcr.io/google_containers/serve_hostname",
"cpu": 1000,
"memory": 1048576
}]
Expand Down
2 changes: 1 addition & 1 deletion examples/liveness/exec-liveness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1beta1
desiredState:
manifest:
containers:
- image: busybox
- image: gcr.io/google_containers/busybox
name: liveness
livenessProbe:
exec:
Expand Down
2 changes: 1 addition & 1 deletion examples/liveness/http-liveness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1beta1
desiredState:
manifest:
containers:
- image: kubernetes/liveness
- image: gcr.io/google_containers/liveness
name: liveness
livenessProbe:
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions examples/liveness/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ server: server.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./server.go

container: server
docker build -t kubernetes/liveness .
docker build -t gcr.io/google_containers/liveness .

push: container
docker push kubernetes/liveness
gcloud preview docker push gcr.io/google_containers/liveness

clean:
rm -f server
2 changes: 1 addition & 1 deletion examples/liveness/v1beta3/exec-liveness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
- "/bin/sh"
- "-c"
- "echo ok > /tmp/health; sleep 10; echo fail > /tmp/health; sleep 600"
image: busybox
image: gcr.io/google_containers/busybox
livenessProbe:
exec:
command:
Expand Down
2 changes: 1 addition & 1 deletion examples/liveness/v1beta3/http-liveness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
containers:
- command:
- "/server"
image: kubernetes/liveness
image: gcr.io/google_containers/liveness
livenessProbe:
httpGet:
path: "/healthz"
Expand Down
2 changes: 1 addition & 1 deletion examples/update-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ $ ./cluster/kubectl.sh rollingupdate update-demo-nautilus --update-period=10s -f
```
The rollingupdate command in kubectl will do 2 things:

1. Create a new replication controller with a pod template that uses the new image (`kubernetes/update-demo:kitten`)
1. Create a new replication controller with a pod template that uses the new image (`gcr.io/google_containers/update-demo:kitten`)
2. Resize the old and new replication controllers until the new controller replaces the old. This will kill the current pods one at a time, spinnning up new ones to replace them.

Watch the [demo website](http://localhost:8001/static/index.html), it will update one pod every 10 seconds until all of the pods have the new image.
Expand Down
2 changes: 1 addition & 1 deletion examples/update-demo/v1beta1/kitten-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ desiredState:
manifest:
containers:
- name: update-demo
image: kubernetes/update-demo:kitten
image: gcr.io/google_containers/update-demo:kitten
ports:
- containerPort: 80
protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion examples/update-demo/v1beta1/nautilus-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ desiredState:
manifest:
containers:
- name: update-demo
image: kubernetes/update-demo:nautilus
image: gcr.io/google_containers/update-demo:nautilus
ports:
- containerPort: 80
protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion examples/update-demo/v1beta3/kitten-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
version: kitten
spec:
containers:
- image: kubernetes/update-demo:kitten
- image: gcr.io/google_containers/update-demo:kitten
name: update-demo
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion examples/update-demo/v1beta3/nautilus-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
version: nautilus
spec:
containers:
- image: kubernetes/update-demo:nautilus
- image: gcr.io/google_containers/update-demo:nautilus
name: update-demo
ports:
- containerPort: 80
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/density.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ var _ = Describe("Density", func() {
}
It(name, func() {
RCName = "my-hostname-density" + strconv.Itoa(count) + "-" + string(util.NewUUID())
RunRC(c, RCName, ns, "kubernetes/pause:go", count*minionCount)
RunRC(c, RCName, ns, "gcr.io/google_containers/pause:go", count*minionCount)
})
}

Expand All @@ -231,7 +231,7 @@ var _ = Describe("Density", func() {
defer wg.Done()
for i := 0; i < 10; i++ {
name := "my-hostname-thrash-" + string(util.NewUUID())
RunRC(c, name, ns, "kubernetes/pause:go", 10*minionCount)
RunRC(c, name, ns, "gcr.io/google_containers/pause:go", 10*minionCount)
}
}()
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/docker_containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func entrypointTestPod() *api.Pod {
Containers: []api.Container{
{
Name: testContainerName,
Image: "kubernetes/eptest:0.1",
Image: "gcr.io/google_containers/eptest:0.1",
},
},
RestartPolicy: api.RestartPolicyNever,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/es_cluster_logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func ClusterLevelLoggingWithElasticsearch(c *client.Client) {
Containers: []api.Container{
{
Name: "synth-logger",
Image: "ubuntu:14.04",
Image: "gcr.io/google_containers/ubuntu:14.04",
Command: []string{"bash", "-c", fmt.Sprintf("i=0; while ((i < %d)); do echo \"%d %s $i %s\"; i=$(($i+1)); done", countTo, i, taintName, podName)},
},
},
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var _ = Describe("Events", func() {
Containers: []api.Container{
{
Name: "p",
Image: "kubernetes/serve_hostname",
Image: "gcr.io/google_containers/serve_hostname",
Ports: []api.ContainerPort{{ContainerPort: 80}},
},
},
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/kubectl.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
)

const (
nautilusImage = "kubernetes/update-demo:nautilus"
kittenImage = "kubernetes/update-demo:kitten"
nautilusImage = "gcr.io/google_containers/update-demo:nautilus"
kittenImage = "gcr.io/google_containers/update-demo:kitten"
updateDemoSelector = "name=update-demo"
updateDemoContainer = "update-demo"
frontendSelector = "name=frontend"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ var _ = Describe("Networking", func() {
Containers: []api.Container{
{
Name: "webserver",
Image: "kubernetes/nettest:1.1",
Image: "gcr.io/google_containers/nettest:1.1",
Args: []string{
"-service=" + name,
fmt.Sprintf("-peers=%d", peers),
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func testPDPod(diskName, targetHost string, readOnly bool) *api.Pod {
Containers: []api.Container{
{
Name: "testpd",
Image: "kubernetes/pause",
Image: "gcr.io/google_containers/pause",
VolumeMounts: []api.VolumeMount{
{
Name: "testpd",
Expand Down
Loading

0 comments on commit f7f1337

Please sign in to comment.