Skip to content

Commit

Permalink
Merge pull request #2356 from thockin-tmp/gcr-vanity
Browse files Browse the repository at this point in the history
Convert registry to k8s.gcr.io
  • Loading branch information
r2d4 authored Dec 22, 2017
2 parents 5661ba0 + 51ee9a1 commit 9740a1c
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BUILDROOT_BRANCH ?= 2017.11
REGISTRY?=gcr.io/k8s-minikube

HYPERKIT_BUILD_IMAGE ?= karalabe/xgo-1.8.3
BUILD_IMAGE ?= gcr.io/google_containers/kube-cross:v1.9.1-1
BUILD_IMAGE ?= k8s.gcr.io/kube-cross:v1.9.1-1
ISO_BUILD_IMAGE ?= $(REGISTRY)/buildroot-image

ISO_VERSION ?= v0.24.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Connecting to cluster...
Setting up kubeconfig...
Kubectl is now configured to use the cluster.

$ kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080
$ kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.4 --port=8080
deployment "hello-minikube" created
$ kubectl expose deployment hello-minikube --type=NodePort
service "hello-minikube" exposed
Expand Down
2 changes: 1 addition & 1 deletion deploy/addons/dashboard/dashboard-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.1
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9090
Expand Down
2 changes: 1 addition & 1 deletion deploy/addons/heapster/heapster-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
spec:
containers:
- name: heapster
image: gcr.io/google_containers/heapster-amd64:v1.5.0
image: k8s.gcr.io/heapster-amd64:v1.5.0
imagePullPolicy: IfNotPresent
command:
- /heapster
Expand Down
4 changes: 2 additions & 2 deletions deploy/addons/heapster/influx-grafana-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
spec:
containers:
- name: influxdb
image: gcr.io/google_containers/heapster-influxdb-amd64:v1.3.3
image: k8s.gcr.io/heapster-influxdb-amd64:v1.3.3
imagePullPolicy: IfNotPresent
ports:
- name: http
Expand All @@ -45,7 +45,7 @@ spec:
- mountPath: /data
name: influxdb-storage
- name: grafana
image: gcr.io/google_containers/heapster-grafana-amd64:v4.4.3
image: k8s.gcr.io/heapster-grafana-amd64:v4.4.3
imagePullPolicy: IfNotPresent
env:
- name: INFLUXDB_SERVICE_URL
Expand Down
2 changes: 1 addition & 1 deletion deploy/addons/ingress/ingress-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
# Any image is permissable as long as:
# 1. It serves a 404 page at /
# 2. It serves 200 on a /healthz endpoint
image: gcr.io/google_containers/defaultbackend:1.4
image: k8s.gcr.io/defaultbackend:1.4
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down
6 changes: 3 additions & 3 deletions deploy/addons/kube-dns/kube-dns-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
optional: true
containers:
- name: kubedns
image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5
image: k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.5
imagePullPolicy: IfNotPresent
resources:
# TODO: Set memory limits when we've profiled the container for large
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
- name: kube-dns-config
mountPath: /kube-dns-config
- name: dnsmasq
image: gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.5
image: k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.5
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -135,7 +135,7 @@ spec:
- name: kube-dns-config
mountPath: /etc/k8s/dns/dnsmasq-nanny
- name: sidecar
image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5
image: k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.5
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down
30 changes: 15 additions & 15 deletions pkg/minikube/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,18 +168,18 @@ const FileScheme = "file"

var LocalkubeCachedImages = []string{
// Dashboard
"gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.3",
"k8s.gcr.io/kubernetes-dashboard-amd64:v1.6.3",

// DNS
"gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5",
"gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.5",
"gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5",
"k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.5",
"k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.5",
"k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.5",

// Addon Manager
"gcr.io/google-containers/kube-addon-manager:v6.4-beta.2",

// Pause
"gcr.io/google_containers/pause-amd64:3.0",
"k8s.gcr.io/pause-amd64:3.0",

//Storage Provisioner
"gcr.io/k8s-minikube/storage-provisioner:v1.8.0",
Expand All @@ -188,26 +188,26 @@ var LocalkubeCachedImages = []string{
func GetKubeadmCachedImages(version string) []string {
return []string{
// Dashboard
"gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.3",
"k8s.gcr.io/kubernetes-dashboard-amd64:v1.6.3",

// Addon Manager
"gcr.io/google-containers/kube-addon-manager:v6.4-beta.2",

// Pause
"gcr.io/google_containers/pause-amd64:3.0",
"k8s.gcr.io/pause-amd64:3.0",

// DNS
"gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.4",
"gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.4",
"gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.4",
"k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.4",
"k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.4",
"k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.4",

// etcd
"gcr.io/google_containers/etcd-amd64:3.0.17",
"k8s.gcr.io/etcd-amd64:3.0.17",

"gcr.io/google_containers/kube-proxy-amd64:" + version,
"gcr.io/google_containers/kube-scheduler-amd64:" + version,
"gcr.io/google_containers/kube-controller-manager-amd64:" + version,
"gcr.io/google_containers/kube-apiserver-amd64:" + version,
"k8s.gcr.io/kube-proxy-amd64:" + version,
"k8s.gcr.io/kube-scheduler-amd64:" + version,
"k8s.gcr.io/kube-controller-manager-amd64:" + version,
"k8s.gcr.io/kube-apiserver-amd64:" + version,

//Storage Provisioner
"gcr.io/k8s-minikube/storage-provisioner:v1.8.0",
Expand Down

0 comments on commit 9740a1c

Please sign in to comment.