Pass 2: k8s GCR vanity URL

pull/8/head
Tim Hockin 2018-04-06 08:14:58 -07:00
parent f79ab9c1ee
commit 89ceb7ef46
7 changed files with 10 additions and 9 deletions

View File

@ -62,7 +62,7 @@ DOCKERIZED_BINARIES = {
[docker_bundle( [docker_bundle(
name = binary, name = binary,
# TODO(thockin): remove the google_containers name after release 1.10. # TODO(thockin): remove the google_containers name after release 1.11.
images = { images = {
"k8s.gcr.io/%s:{STABLE_DOCKER_TAG}" % binary: binary + "-internal", "k8s.gcr.io/%s:{STABLE_DOCKER_TAG}" % binary: binary + "-internal",
"gcr.io/google_containers/%s:{STABLE_DOCKER_TAG}" % binary: binary + "-internal", "gcr.io/google_containers/%s:{STABLE_DOCKER_TAG}" % binary: binary + "-internal",

View File

@ -285,7 +285,7 @@ function kube::release::create_docker_images_for_server() {
mkdir -p "${images_dir}" mkdir -p "${images_dir}"
local -r docker_registry="k8s.gcr.io" local -r docker_registry="k8s.gcr.io"
# TODO(thockin): Remove all traces of this after 1.10 release. # TODO(thockin): Remove all traces of this after 1.11 release.
# The following is the old non-indirected registry name. To ease the # The following is the old non-indirected registry name. To ease the
# transition to the new name (above), we are double-tagging saved images. # transition to the new name (above), we are double-tagging saved images.
local -r deprecated_registry="gcr.io/google_containers" local -r deprecated_registry="gcr.io/google_containers"

View File

@ -19,7 +19,7 @@ spec:
serviceAccountName: fluentd-gcp-scaler serviceAccountName: fluentd-gcp-scaler
containers: containers:
- name: fluentd-gcp-scaler - name: fluentd-gcp-scaler
image: gcr.io/google-containers/fluentd-gcp-scaler:0.3 image: k8s.gcr.io/fluentd-gcp-scaler:0.3
command: command:
- /scaler.sh - /scaler.sh
- --ds-name=fluentd-gcp-v3.0.0 - --ds-name=fluentd-gcp-v3.0.0

View File

@ -17,6 +17,6 @@ spec:
spec: spec:
containers: containers:
- name: nginx - name: nginx
image: gcr.io/google-containers/nginx:test-cmd image: k8s.gcr.io/nginx:test-cmd
ports: ports:
- containerPort: 80 - containerPort: 80

View File

@ -440,7 +440,7 @@ func generateScaleTestBackendDeploymentSpec(numReplicas int32) *extensions.Deplo
Containers: []v1.Container{ Containers: []v1.Container{
{ {
Name: scaleTestBackendName, Name: scaleTestBackendName,
Image: "gcr.io/google_containers/echoserver:1.10", Image: "k8s.gcr.io/echoserver:1.10",
Ports: []v1.ContainerPort{{ContainerPort: 8080}}, Ports: []v1.ContainerPort{{ContainerPort: 8080}},
ReadinessProbe: &v1.Probe{ ReadinessProbe: &v1.Probe{
Handler: v1.Handler{ Handler: v1.Handler{

View File

@ -21,6 +21,9 @@ import (
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"fmt" "fmt"
"strings"
"time"
appsv1 "k8s.io/api/apps/v1" appsv1 "k8s.io/api/apps/v1"
"k8s.io/api/core/v1" "k8s.io/api/core/v1"
storage "k8s.io/api/storage/v1" storage "k8s.io/api/storage/v1"
@ -34,8 +37,6 @@ import (
"k8s.io/kubernetes/pkg/volume/util" "k8s.io/kubernetes/pkg/volume/util"
"k8s.io/kubernetes/test/e2e/framework" "k8s.io/kubernetes/test/e2e/framework"
"k8s.io/kubernetes/test/e2e/storage/utils" "k8s.io/kubernetes/test/e2e/storage/utils"
"strings"
"time"
) )
const ( const (
@ -333,7 +334,7 @@ func newPodTemplate(labels map[string]string) *v1.PodTemplateSpec {
// and prints the entire file to stdout. // and prints the entire file to stdout.
{ {
Name: "busybox", Name: "busybox",
Image: "gcr.io/google_containers/busybox", Image: "k8s.gcr.io/busybox",
Command: []string{"sh", "-c"}, Command: []string{"sh", "-c"},
Args: []string{ Args: []string{
"echo ${POD_NAME} >> /mnt/data/regional-pd/pods.txt;" + "echo ${POD_NAME} >> /mnt/data/regional-pd/pods.txt;" +

View File

@ -11,6 +11,6 @@ spec:
spec: spec:
containers: containers:
- name: echoheaders-https - name: echoheaders-https
image: gcr.io/google_containers/echoserver:1.10 image: k8s.gcr.io/echoserver:1.10
ports: ports:
- containerPort: 8080 - containerPort: 8080