forked from kubernetes/autoscaler
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cluster-autoscaler) upgrade to 1.27
- Loading branch information
zoe.chou
committed
Jun 26, 2024
1 parent
06465a3
commit 89c404e
Showing
86 changed files
with
27,975 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM golang:1.19.13 AS build | ||
|
||
ARG TARGETARCH | ||
ENV GOPATH /gopath/ | ||
ENV PATH $GOPATH/bin:$PATH | ||
ENV GO111MODULE auto | ||
ENV GOARCH ${TARGETARCH} | ||
|
||
RUN apt-get update && apt-get --yes install libseccomp-dev | ||
RUN go version | ||
RUN go get github.com/tools/godep | ||
RUN godep version | ||
|
||
WORKDIR /gopath/src/k8s.io/autoscaler/cluster-autoscaler | ||
ADD . . | ||
RUN CGO_ENABLED=0 GOOS=linux go build -o cluster-autoscaler --ldflags "-s" | ||
|
||
FROM alpine | ||
COPY --from=build /gopath/src/k8s.io/autoscaler/cluster-autoscaler/cluster-autoscaler / | ||
|
||
CMD ["./cluster-autoscaler"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.