Fix healthcheck (tracing) endpoint (#895)

* Switch to n1-highcpu-2

* Add tracing.endpoint_addr config to release docker image
This commit is contained in:
Deirdre Connolly 2020-08-13 03:31:09 -04:00 committed by GitHub
parent 250e1af4f1
commit b4245f4d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ jobs:
run: |
gcloud compute instance-templates create-with-container "zebrad-$BRANCH_NAME-$SHORT_SHA" \
--container-image "gcr.io/$PROJECT_ID/$REPOSITORY/$BRANCH_NAME:$SHORT_SHA" \
--machine-type n1-standard-2 \
--machine-type n1-highcpu-2 \
--service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \
--scopes cloud-platform \
--tags zebrad \

View File

@ -20,5 +20,6 @@ RUN rustc -V; cargo -V; rustup -V; cargo test --all && cargo build --release
FROM debian:buster-slim
COPY --from=builder /zebra/target/release/zebrad /
RUN echo "[tracing]\nendpoint_addr = '0.0.0.0:3000'" > /zebrad.toml
EXPOSE 3000 8233 18233
CMD [ "/zebrad", "start" ]