Skip to content

Commit

Permalink
Drop the beta for GCR v2 images.
Browse files Browse the repository at this point in the history
beta.gcr.io is no longer needed to pull through v2.
  • Loading branch information
mattmoor committed Nov 14, 2015
1 parent 961a02a commit b750d1d
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ readonly KUBE_DOCKER_WRAPPED_BINARIES=(

# The set of addons images that should be prepopulated
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
)

Expand Down
4 changes: 2 additions & 2 deletions build/pause/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ TAG = 2.0

build:
./prepare.sh
docker build -t beta.gcr.io/google_containers/$(IMAGE):$(TAG) .
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .

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
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
volumeMounts:
- name: influxdb-persistent-storage
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
env:
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IMAGE = fluentd-elasticsearch
TAG = 1.12

build:
docker build -t beta.gcr.io/google_containers/$(IMAGE):$(TAG) .
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .

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)
2 changes: 1 addition & 1 deletion cluster/saltbase/salt/fluentd-es/fluentd-es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: fluentd-elasticsearch
image: beta.gcr.io/google_containers/fluentd-elasticsearch:1.12
image: gcr.io/google_containers/fluentd-elasticsearch:1.12
resources:
limits:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/kubelet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
--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-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.
--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.
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubelet/dockertools/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
const (
PodInfraContainerName = leaky.PodInfraContainerName
DockerPrefix = "docker://"
PodInfraContainerImage = "beta.gcr.io/google_containers/pause:2.0"
PodInfraContainerImage = "gcr.io/google_containers/pause:2.0"
LogSuffix = "log"
)

Expand Down
4 changes: 2 additions & 2 deletions test/e2e/cluster_size_autoscaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func ReserveCpu(f *Framework, id string, millicores int) {
Name: id,
Namespace: f.Namespace.Name,
Timeout: 10 * time.Minute,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Replicas: millicores / 100,
CpuRequest: 100,
}
Expand All @@ -161,7 +161,7 @@ func ReserveMemory(f *Framework, id string, megabytes int) {
Name: id,
Namespace: f.Namespace.Name,
Timeout: 10 * time.Minute,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Replicas: megabytes / 500,
MemRequest: 500 * 1024 * 1024,
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/container_probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func makePodSpec(readinessProbe, livenessProbe *api.Probe) *api.Pod {
ReadinessProbe: readinessProbe,
}, {
Name: "test-noprobe",
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/daemon_restart.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ var _ = Describe("DaemonRestart", func() {
Client: framework.Client,
Name: rcName,
Namespace: ns,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Replicas: numPods,
CreatedPods: &[]*api.Pod{},
}
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/density.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ var _ = Describe("Density", func() {
expectNoError(err)
defer fileHndl.Close()
config := RCConfig{Client: c,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Name: RCName,
Namespace: ns,
PollInterval: itArg.interval,
Expand Down Expand Up @@ -316,7 +316,7 @@ var _ = Describe("Density", func() {
}
for i := 1; i <= nodeCount; 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)
}
wg.Wait()
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/etcd_failure.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var _ = Describe("Etcd failure", func() {
Client: framework.Client,
Name: "baz",
Namespace: framework.Namespace.Name,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Replicas: 1,
})).NotTo(HaveOccurred())
})
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/garbage_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func createTerminatingPod(f *Framework) (*api.Pod, error) {
Containers: []api.Container{
{
Name: string(uuid),
Image: "beta.gcr.io/google_containers/busybox",
Image: "gcr.io/google_containers/busybox",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ var _ = Describe("kubelet", func() {
Client: framework.Client,
Name: rcName,
Namespace: framework.Namespace.Name,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Replicas: totalPods,
})).NotTo(HaveOccurred())
// Perform a sanity check so that we know all desired pods are
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/kubelet_perf.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func runResourceTrackingTest(framework *Framework, podsPerNode int, nodeNames se
Client: framework.Client,
Name: rcName,
Namespace: framework.Namespace.Name,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Replicas: totalPods,
})).NotTo(HaveOccurred())

Expand Down
4 changes: 2 additions & 2 deletions test/e2e/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ var _ = Describe("Pods", func() {
Containers: []api.Container{
{
Name: "test",
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
},
},
},
Expand All @@ -244,7 +244,7 @@ var _ = Describe("Pods", func() {
Containers: []api.Container{
{
Name: "nginx",
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Resources: api.ResourceRequirements{
Limits: api.ResourceList{
api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI),
Expand Down
14 changes: 7 additions & 7 deletions test/e2e/scheduler_predicates.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{
{
Name: "",
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
},
},
},
Expand All @@ -249,7 +249,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{
{
Name: podName,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
},
},
},
Expand Down Expand Up @@ -308,7 +308,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{
{
Name: "",
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Resources: api.ResourceRequirements{
Limits: api.ResourceList{
"cpu": *resource.NewMilliQuantity(milliCpuPerPod, "DecimalSI"),
Expand All @@ -332,7 +332,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{
{
Name: podName,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Resources: api.ResourceRequirements{
Limits: api.ResourceList{
"cpu": *resource.NewMilliQuantity(milliCpuPerPod, "DecimalSI"),
Expand Down Expand Up @@ -372,7 +372,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{
{
Name: podName,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
},
},
NodeSelector: map[string]string{
Expand Down Expand Up @@ -408,7 +408,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{
{
Name: podName,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
},
},
},
Expand Down Expand Up @@ -446,7 +446,7 @@ var _ = Describe("SchedulerPredicates", func() {
Containers: []api.Container{
{
Name: labelPodName,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
},
},
NodeSelector: map[string]string{
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ func createPodOrFail(c *client.Client, ns, name string, labels map[string]string
Containers: []api.Container{
{
Name: "test",
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Ports: containerPorts,
},
},
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/service_latency.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var _ = Describe("Service endpoints latency", func() {
func runServiceLatencies(f *Framework, inParallel, total int) (output []time.Duration, err error) {
cfg := RCConfig{
Client: f.Client,
Image: "beta.gcr.io/google_containers/pause:2.0",
Image: "gcr.io/google_containers/pause:2.0",
Name: "svc-latency-rc",
Namespace: f.Namespace.Name,
Replicas: 1,
Expand Down

0 comments on commit b750d1d

Please sign in to comment.