Skip to content

Commit

Permalink
add prestop to service graph (istio#1471)
Browse files Browse the repository at this point in the history
* add prestop to service graph

* lint

* fix yaml

* fix linter
  • Loading branch information
howardjohn authored Mar 18, 2021
1 parent 4552b88 commit df1fd38
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 31 deletions.
2 changes: 1 addition & 1 deletion cmd/goc/instrument.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"path"
"strings"

// nolint: staticcheck - SA1019: package golang.org/x/tools/go/loader is deprecated
// nolint: staticcheck
"golang.org/x/tools/go/loader"
)

Expand Down
4 changes: 2 additions & 2 deletions isotope/service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Note: this image must be built from the root of the repository for access to
# the vendor folder.

FROM golang:1.13.8 AS builder
FROM golang:1.16.0 AS builder

RUN mkdir /build

Expand All @@ -11,7 +11,7 @@ WORKDIR /build

RUN GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build -o isotope_service ./service

FROM scratch
FROM alpine:3.12

COPY --from=builder /build/isotope_service /usr/local/bin/isotope_service

Expand Down
2 changes: 1 addition & 1 deletion perf/load/bootstrap-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ExecStart=/usr/bin/isotope_service --max-idle-connections-per-host=32
WantedBy=multi-user.target
EOF

docker-copy gcr.io/istio-testing/isotope:0.0.1 /usr/local/bin/isotope_service "${WORK_DIR}"/isotope_service
docker-copy gcr.io/istio-testing/isotope:0.0.2 /usr/local/bin/isotope_service "${WORK_DIR}"/isotope_service

gcloud compute scp "${WORK_DIR}"/* "${VM_APP}":
gcloud compute ssh "${VM_APP}" -- sudo bash -c "\"
Expand Down
Loading

0 comments on commit df1fd38

Please sign in to comment.