Fix healthcheck (tracing) endpoint (#895)
* Switch to n1-highcpu-2 * Add tracing.endpoint_addr config to release docker image
This commit is contained in:
parent
250e1af4f1
commit
b4245f4d01
|
@ -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 \
|
||||
|
|
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue