Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose port 3003 on assigner pod #1892

Merged
merged 3 commits into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN set -eux; \
&& chmod +x tini

# Create the target image
FROM busybox:1.34-glibc
FROM busybox:1.36-glibc
LABEL maintainer="Andrew Gillis <andrew.gillis@protocol.ai>"

# Get the storetheindex binary, entrypoint script, and TLS CAs from the build container.
Expand All @@ -64,9 +64,10 @@ EXPOSE 3002
EXPOSE 3000
# Ingest interface
EXPOSE 3001
# P2P interface
EXPOSE 3003
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small footnote: The exposure of ports here are redundant for the purposes of K8S, but thank you for documenting them in dockerfile.


ENV \
STORETHEINDEX_LOTUS_GATEWAY="wss://api.chain.love" \
STORETHEINDEX_PATH="/data/storetheindex" \
GOLOG_LOG_FMT="json"

Expand Down
2 changes: 2 additions & 0 deletions deploy/manifests/base/assigner/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
ports:
- containerPort: 3001
name: http
- containerPort: 3003
name: libp2p
- containerPort: 8081
name: metrics
readinessProbe:
Expand Down