Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase VPA to distroless #2413

Merged
merged 1 commit into from
Oct 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vertical-pod-autoscaler/pkg/admission-controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM k8s.gcr.io/debian-base-amd64:1.0.0
FROM gcr.io/distroless/static:latest
MAINTAINER Tomasz Kulczynski "[email protected]"

ADD admission-controller admission-controller
copy admission-controller /

ENTRYPOINT ["./admission-controller"]
ENTRYPOINT ["/admission-controller"]
CMD ["--v=4", "--stderrthreshold=info"]
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/pkg/admission-controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ all: build
TAG?=dev
REGISTRY?=staging-k8s.gcr.io
FLAGS=
ENVVAR=
ENVVAR=CGO_ENABLED=0 LD_FLAGS=-s
GOOS?=linux
COMPONENT=admission-controller
FULL_COMPONENT=vpa-${COMPONENT}
Expand Down
6 changes: 3 additions & 3 deletions vertical-pod-autoscaler/pkg/recommender/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM k8s.gcr.io/debian-base-amd64:1.0.0
FROM gcr.io/distroless/static:latest
MAINTAINER Krzysztof Grygiel "[email protected]"

ADD recommender recommender
COPY recommender /

ENTRYPOINT ["./recommender"]
ENTRYPOINT ["/recommender"]
CMD ["--v=4", "--stderrthreshold=info", "--prometheus-address=http://prometheus.monitoring.svc"]
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/pkg/recommender/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ all: build
TAG?=dev
REGISTRY?=staging-k8s.gcr.io
FLAGS=
ENVVAR=
ENVVAR=CGO_ENABLED=0 LD_FLAGS=-s
GOOS?=linux
COMPONENT=recommender
FULL_COMPONENT=vpa-${COMPONENT}
Expand Down
6 changes: 3 additions & 3 deletions vertical-pod-autoscaler/pkg/updater/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
# limitations under the License.


FROM k8s.gcr.io/debian-base-amd64:1.0.0
FROM gcr.io/distroless/static:latest
MAINTAINER Marcin Wielgus "[email protected]"

ADD updater updater
COPY updater /

ENTRYPOINT ["./updater"]
ENTRYPOINT ["/updater"]
CMD ["--v=4", "--stderrthreshold=info"]
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/pkg/updater/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ all: build
TAG?=dev
REGISTRY?=staging-k8s.gcr.io
FLAGS=
ENVVAR=
ENVVAR=CGO_ENABLED=0 LD_FLAGS=-s
GOOS?=linux
COMPONENT=updater
FULL_COMPONENT=vpa-${COMPONENT}
Expand Down