Skip to content

Commit

Permalink
Using the new scaler (0.1.2) (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedingber authored Nov 14, 2019
1 parent a2d4985 commit 0f75df1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions autoscaler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY . .

RUN go get github.com/v3io/scaler-types \
&& cd $GOPATH/src/github.com/v3io/scaler-types \
&& git checkout v1.2.0 \
&& git checkout v1.3.0 \
&& cd /go/src/github.com/v3io/app_resourcescaler

RUN mkdir -p /home/app_resourcescaler/bin \
Expand All @@ -30,6 +30,6 @@ WORKDIR /home/app_resourcescaler
ENV PATH=/home/app_resourcescaler:$PATH

COPY --from=builder /home/app_resourcescaler/plugins/plugin.so /home/app_resourcescaler/plugins/plugin.so
COPY --from=quay.io/v3io/autoscaler:v0.1.1 /home/v3io/bin/autoscaler /home/app_resourcescaler/autoscaler
COPY --from=quay.io/v3io/autoscaler:v0.1.2 /home/v3io/bin/autoscaler /home/app_resourcescaler/autoscaler

CMD ["autoscaler"]
4 changes: 2 additions & 2 deletions dlx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY . .

RUN go get github.com/v3io/scaler-types \
&& cd $GOPATH/src/github.com/v3io/scaler-types \
&& git checkout v1.2.0 \
&& git checkout v1.3.0 \
&& cd /go/src/github.com/v3io/app_resourcescaler

RUN mkdir -p /home/app_resourcescaler/bin \
Expand All @@ -30,6 +30,6 @@ WORKDIR /home/app_resourcescaler
ENV PATH=/home/app_resourcescaler:$PATH

COPY --from=builder /home/app_resourcescaler/plugins/plugin.so /home/app_resourcescaler/plugins/plugin.so
COPY --from=quay.io/v3io/dlx:v0.1.1 /home/v3io/bin/dlx /home/app_resourcescaler/dlx
COPY --from=quay.io/v3io/dlx:v0.1.2 /home/v3io/bin/dlx /home/app_resourcescaler/dlx

CMD ["dlx"]
2 changes: 1 addition & 1 deletion resourcescaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func (s *AppResourceScaler) patchIguazioTenantAppServiceSets(namespace string, j
}

func (s *AppResourceScaler) waitForNoProvisioningInProcess(namespace string) error {
s.logger.DebugWith("Waiting for service for IguazioTenantAppServiceSet to finish provisioning")
s.logger.DebugWith("Waiting for IguazioTenantAppServiceSet to finish provisioning")
timeout := time.After(5 * time.Minute)
tick := time.Tick(10 * time.Second)
for {
Expand Down

0 comments on commit 0f75df1

Please sign in to comment.