Commit b750d1dd authored by Matt Moore's avatar Matt Moore

Drop the beta for GCR v2 images.

beta.gcr.io is no longer needed to pull through v2.
parent 961a02a6
...@@ -101,7 +101,7 @@ readonly KUBE_DOCKER_WRAPPED_BINARIES=( ...@@ -101,7 +101,7 @@ readonly KUBE_DOCKER_WRAPPED_BINARIES=(
# The set of addons images that should be prepopulated # The set of addons images that should be prepopulated
readonly KUBE_ADDON_PATHS=( readonly KUBE_ADDON_PATHS=(
beta.gcr.io/google_containers/pause:2.0 gcr.io/google_containers/pause:2.0
gcr.io/google_containers/kube-registry-proxy:0.3 gcr.io/google_containers/kube-registry-proxy:0.3
) )
......
...@@ -5,9 +5,9 @@ TAG = 2.0 ...@@ -5,9 +5,9 @@ TAG = 2.0
build: build:
./prepare.sh ./prepare.sh
docker build -t beta.gcr.io/google_containers/$(IMAGE):$(TAG) . docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
push: build push: build
gcloud docker --server=beta.gcr.io push beta.gcr.io/google_containers/$(IMAGE):$(TAG) gcloud docker --server=gcr.io push gcr.io/google_containers/$(IMAGE):$(TAG)
all: push all: push
...@@ -34,7 +34,7 @@ spec: ...@@ -34,7 +34,7 @@ spec:
volumeMounts: volumeMounts:
- name: influxdb-persistent-storage - name: influxdb-persistent-storage
mountPath: /data mountPath: /data
- image: beta.gcr.io/google_containers/heapster_grafana:v2.1.1 - image: gcr.io/google_containers/heapster_grafana:v2.1.1
name: grafana name: grafana
env: env:
resources: resources:
......
...@@ -4,7 +4,7 @@ IMAGE = fluentd-elasticsearch ...@@ -4,7 +4,7 @@ IMAGE = fluentd-elasticsearch
TAG = 1.12 TAG = 1.12
build: build:
docker build -t beta.gcr.io/google_containers/$(IMAGE):$(TAG) . docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
push: push:
gcloud docker --server=beta.gcr.io push beta.gcr.io/google_containers/$(IMAGE):$(TAG) gcloud docker --server=gcr.io push gcr.io/google_containers/$(IMAGE):$(TAG)
...@@ -6,7 +6,7 @@ metadata: ...@@ -6,7 +6,7 @@ metadata:
spec: spec:
containers: containers:
- name: fluentd-elasticsearch - name: fluentd-elasticsearch
image: beta.gcr.io/google_containers/fluentd-elasticsearch:1.12 image: gcr.io/google_containers/fluentd-elasticsearch:1.12
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
......
...@@ -114,7 +114,7 @@ kubelet ...@@ -114,7 +114,7 @@ kubelet
--node-status-update-frequency=10s: Specifies how often kubelet posts node status to master. Note: be cautious when changing the constant, it must work with nodeMonitorGracePeriod in nodecontroller. Default: 10s --node-status-update-frequency=10s: Specifies how often kubelet posts node status to master. Note: be cautious when changing the constant, it must work with nodeMonitorGracePeriod in nodecontroller. Default: 10s
--oom-score-adj=-999: The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000] --oom-score-adj=-999: The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000]
--pod-cidr="": The CIDR to use for pod IP addresses, only used in standalone mode. In cluster mode, this is obtained from the master. --pod-cidr="": The CIDR to use for pod IP addresses, only used in standalone mode. In cluster mode, this is obtained from the master.
--pod-infra-container-image="beta.gcr.io/google_containers/pause:2.0": The image whose network/ipc namespaces containers in each pod will use. --pod-infra-container-image="gcr.io/google_containers/pause:2.0": The image whose network/ipc namespaces containers in each pod will use.
--port=10250: The port for the Kubelet to serve on. Note that "kubectl logs" will not work if you set this flag. --port=10250: The port for the Kubelet to serve on. Note that "kubectl logs" will not work if you set this flag.
--read-only-port=10255: The read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable) --read-only-port=10255: The read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable)
--really-crash-for-testing[=false]: If true, when panics occur crash. Intended for testing. --really-crash-for-testing[=false]: If true, when panics occur crash. Intended for testing.
......
...@@ -40,7 +40,7 @@ import ( ...@@ -40,7 +40,7 @@ import (
const ( const (
PodInfraContainerName = leaky.PodInfraContainerName PodInfraContainerName = leaky.PodInfraContainerName
DockerPrefix = "docker://" DockerPrefix = "docker://"
PodInfraContainerImage = "beta.gcr.io/google_containers/pause:2.0" PodInfraContainerImage = "gcr.io/google_containers/pause:2.0"
LogSuffix = "log" LogSuffix = "log"
) )
......
...@@ -147,7 +147,7 @@ func ReserveCpu(f *Framework, id string, millicores int) { ...@@ -147,7 +147,7 @@ func ReserveCpu(f *Framework, id string, millicores int) {
Name: id, Name: id,
Namespace: f.Namespace.Name, Namespace: f.Namespace.Name,
Timeout: 10 * time.Minute, Timeout: 10 * time.Minute,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Replicas: millicores / 100, Replicas: millicores / 100,
CpuRequest: 100, CpuRequest: 100,
} }
...@@ -161,7 +161,7 @@ func ReserveMemory(f *Framework, id string, megabytes int) { ...@@ -161,7 +161,7 @@ func ReserveMemory(f *Framework, id string, megabytes int) {
Name: id, Name: id,
Namespace: f.Namespace.Name, Namespace: f.Namespace.Name,
Timeout: 10 * time.Minute, Timeout: 10 * time.Minute,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Replicas: megabytes / 500, Replicas: megabytes / 500,
MemRequest: 500 * 1024 * 1024, MemRequest: 500 * 1024 * 1024,
} }
......
...@@ -117,7 +117,7 @@ func makePodSpec(readinessProbe, livenessProbe *api.Probe) *api.Pod { ...@@ -117,7 +117,7 @@ func makePodSpec(readinessProbe, livenessProbe *api.Probe) *api.Pod {
ReadinessProbe: readinessProbe, ReadinessProbe: readinessProbe,
}, { }, {
Name: "test-noprobe", Name: "test-noprobe",
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
}, },
}, },
}, },
......
...@@ -208,7 +208,7 @@ var _ = Describe("DaemonRestart", func() { ...@@ -208,7 +208,7 @@ var _ = Describe("DaemonRestart", func() {
Client: framework.Client, Client: framework.Client,
Name: rcName, Name: rcName,
Namespace: ns, Namespace: ns,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Replicas: numPods, Replicas: numPods,
CreatedPods: &[]*api.Pod{}, CreatedPods: &[]*api.Pod{},
} }
......
...@@ -186,7 +186,7 @@ var _ = Describe("Density", func() { ...@@ -186,7 +186,7 @@ var _ = Describe("Density", func() {
expectNoError(err) expectNoError(err)
defer fileHndl.Close() defer fileHndl.Close()
config := RCConfig{Client: c, config := RCConfig{Client: c,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Name: RCName, Name: RCName,
Namespace: ns, Namespace: ns,
PollInterval: itArg.interval, PollInterval: itArg.interval,
...@@ -316,7 +316,7 @@ var _ = Describe("Density", func() { ...@@ -316,7 +316,7 @@ var _ = Describe("Density", func() {
} }
for i := 1; i <= nodeCount; i++ { for i := 1; i <= nodeCount; i++ {
name := additionalPodsPrefix + "-" + strconv.Itoa(i) name := additionalPodsPrefix + "-" + strconv.Itoa(i)
go createRunningPod(&wg, c, name, ns, "beta.gcr.io/google_containers/pause:2.0", podLabels) go createRunningPod(&wg, c, name, ns, "gcr.io/google_containers/pause:2.0", podLabels)
time.Sleep(200 * time.Millisecond) time.Sleep(200 * time.Millisecond)
} }
wg.Wait() wg.Wait()
......
...@@ -47,7 +47,7 @@ var _ = Describe("Etcd failure", func() { ...@@ -47,7 +47,7 @@ var _ = Describe("Etcd failure", func() {
Client: framework.Client, Client: framework.Client,
Name: "baz", Name: "baz",
Namespace: framework.Namespace.Name, Namespace: framework.Namespace.Name,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Replicas: 1, Replicas: 1,
})).NotTo(HaveOccurred()) })).NotTo(HaveOccurred())
}) })
......
...@@ -73,7 +73,7 @@ func createTerminatingPod(f *Framework) (*api.Pod, error) { ...@@ -73,7 +73,7 @@ func createTerminatingPod(f *Framework) (*api.Pod, error) {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: string(uuid), Name: string(uuid),
Image: "beta.gcr.io/google_containers/busybox", Image: "gcr.io/google_containers/busybox",
}, },
}, },
}, },
......
...@@ -130,7 +130,7 @@ var _ = Describe("kubelet", func() { ...@@ -130,7 +130,7 @@ var _ = Describe("kubelet", func() {
Client: framework.Client, Client: framework.Client,
Name: rcName, Name: rcName,
Namespace: framework.Namespace.Name, Namespace: framework.Namespace.Name,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Replicas: totalPods, Replicas: totalPods,
})).NotTo(HaveOccurred()) })).NotTo(HaveOccurred())
// Perform a sanity check so that we know all desired pods are // Perform a sanity check so that we know all desired pods are
......
...@@ -61,7 +61,7 @@ func runResourceTrackingTest(framework *Framework, podsPerNode int, nodeNames se ...@@ -61,7 +61,7 @@ func runResourceTrackingTest(framework *Framework, podsPerNode int, nodeNames se
Client: framework.Client, Client: framework.Client,
Name: rcName, Name: rcName,
Namespace: framework.Namespace.Name, Namespace: framework.Namespace.Name,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Replicas: totalPods, Replicas: totalPods,
})).NotTo(HaveOccurred()) })).NotTo(HaveOccurred())
......
...@@ -219,7 +219,7 @@ var _ = Describe("Pods", func() { ...@@ -219,7 +219,7 @@ var _ = Describe("Pods", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: "test", Name: "test",
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
}, },
}, },
}, },
...@@ -244,7 +244,7 @@ var _ = Describe("Pods", func() { ...@@ -244,7 +244,7 @@ var _ = Describe("Pods", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: "nginx", Name: "nginx",
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Resources: api.ResourceRequirements{ Resources: api.ResourceRequirements{
Limits: api.ResourceList{ Limits: api.ResourceList{
api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI), api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI),
......
...@@ -230,7 +230,7 @@ var _ = Describe("SchedulerPredicates", func() { ...@@ -230,7 +230,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: "", Name: "",
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
}, },
}, },
}, },
...@@ -249,7 +249,7 @@ var _ = Describe("SchedulerPredicates", func() { ...@@ -249,7 +249,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: podName, Name: podName,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
}, },
}, },
}, },
...@@ -308,7 +308,7 @@ var _ = Describe("SchedulerPredicates", func() { ...@@ -308,7 +308,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: "", Name: "",
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Resources: api.ResourceRequirements{ Resources: api.ResourceRequirements{
Limits: api.ResourceList{ Limits: api.ResourceList{
"cpu": *resource.NewMilliQuantity(milliCpuPerPod, "DecimalSI"), "cpu": *resource.NewMilliQuantity(milliCpuPerPod, "DecimalSI"),
...@@ -332,7 +332,7 @@ var _ = Describe("SchedulerPredicates", func() { ...@@ -332,7 +332,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: podName, Name: podName,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Resources: api.ResourceRequirements{ Resources: api.ResourceRequirements{
Limits: api.ResourceList{ Limits: api.ResourceList{
"cpu": *resource.NewMilliQuantity(milliCpuPerPod, "DecimalSI"), "cpu": *resource.NewMilliQuantity(milliCpuPerPod, "DecimalSI"),
...@@ -372,7 +372,7 @@ var _ = Describe("SchedulerPredicates", func() { ...@@ -372,7 +372,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: podName, Name: podName,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
}, },
}, },
NodeSelector: map[string]string{ NodeSelector: map[string]string{
...@@ -408,7 +408,7 @@ var _ = Describe("SchedulerPredicates", func() { ...@@ -408,7 +408,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: podName, Name: podName,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
}, },
}, },
}, },
...@@ -446,7 +446,7 @@ var _ = Describe("SchedulerPredicates", func() { ...@@ -446,7 +446,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: labelPodName, Name: labelPodName,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
}, },
}, },
NodeSelector: map[string]string{ NodeSelector: map[string]string{
......
...@@ -1074,7 +1074,7 @@ func createPodOrFail(c *client.Client, ns, name string, labels map[string]string ...@@ -1074,7 +1074,7 @@ func createPodOrFail(c *client.Client, ns, name string, labels map[string]string
Containers: []api.Container{ Containers: []api.Container{
{ {
Name: "test", Name: "test",
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Ports: containerPorts, Ports: containerPorts,
}, },
}, },
......
...@@ -119,7 +119,7 @@ var _ = Describe("Service endpoints latency", func() { ...@@ -119,7 +119,7 @@ var _ = Describe("Service endpoints latency", func() {
func runServiceLatencies(f *Framework, inParallel, total int) (output []time.Duration, err error) { func runServiceLatencies(f *Framework, inParallel, total int) (output []time.Duration, err error) {
cfg := RCConfig{ cfg := RCConfig{
Client: f.Client, Client: f.Client,
Image: "beta.gcr.io/google_containers/pause:2.0", Image: "gcr.io/google_containers/pause:2.0",
Name: "svc-latency-rc", Name: "svc-latency-rc",
Namespace: f.Namespace.Name, Namespace: f.Namespace.Name,
Replicas: 1, Replicas: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment