Skip to content

Commit

Permalink
Renaming to "addon-resizer".
Browse files Browse the repository at this point in the history
  • Loading branch information
Q-Lee committed Mar 10, 2016
1 parent 18bb93d commit 76be855
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions pod-resizer/Makefile → addon-resizer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
# Procedure for change:
# 1. Bump the tag number.
# 2. Create an image for the kubernetes user on Dockerhub and push there: make build push
# 3. Temporarily adjust any config files etc. that reference gcr.io/google_containers/pod-resizer:$(TAG)
# to use kubernetes/pod-resizer:$(TAG) instead.
# 3. Temporarily adjust any config files etc. that reference gcr.io/google_containers/addon-resizer:$(TAG)
# to use kubernetes/addon-resizer:$(TAG) instead.
# 4. Test etc.
# 5. Issue PR.
# 6. When PR is approved make the gcr.io version of the image: make build push
# 7. Revert the references to kubernetes/pod-resizer:$(TAG) to gcr.io/google_containers/pod-resizer:$(TAG)
# 7. Revert the references to kubernetes/addon-resizer:$(TAG) to gcr.io/google_containers/addon-resizer:$(TAG)

OUT_DIR = build
PACKAGE = k8s.io/contrib/pod-resizer
PACKAGE = k8s.io/contrib/addon-resizer
PREFIX = gcr.io/google_containers
TAG = 1.0

Expand All @@ -44,9 +44,9 @@ clean:
rm -rf build

build: go
docker build -t ${PREFIX}/pod-resizer:$(TAG) .
docker build -t ${PREFIX}/addon-resizer:$(TAG) .

docker: build

push: docker
gcloud docker push ${PREFIX}/pod-resizer:$(TAG)
gcloud docker push ${PREFIX}/addon-resizer:$(TAG)
4 changes: 2 additions & 2 deletions pod-resizer/README.md → addon-resizer/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pod-resizer
# addon-resizer

This container image watches over another container in a deployment, and
vertically scales the dependent container up and down. Currently the only
Expand Down Expand Up @@ -55,7 +55,7 @@ spec:
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google_containers/pod-resizer:1.0
- image: gcr.io/google_containers/addon-resizer:1.0
imagePullPolicy: Always
name: pod-nanny
resources:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
log "github.com/golang/glog"
flag "github.com/spf13/pflag"

"k8s.io/contrib/pod-resizer/nanny"
"k8s.io/contrib/addon-resizer/nanny"
resource "k8s.io/kubernetes/pkg/api/resource"

"k8s.io/kubernetes/pkg/client/clientset_generated/release_1_2"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 76be855

Please sign in to comment.