Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Saetch committed Jun 27, 2024
1 parent 03b0fff commit 360dd9f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cluster/hasher_service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN cargo build --release


FROM alpine:3.19.1

RUN apk add curl
COPY --from=BUILDER /app/target/release/hasher_service /app/
WORKDIR /app/
CMD ["./hasher_service"]
6 changes: 3 additions & 3 deletions deploy/deploy-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
image: ghcr.io/saetch/deightma_coordinator:latest
ports:
- containerPort: 8080
name: coordinator-p
name: coord-port
env:
- name: DB_HOST
value: test-db
Expand All @@ -36,7 +36,7 @@ spec:
selector:
app: coordinator
ports:
- name: coordinator-p
- name: coord-port
protocol: TCP
port: 8080
targetPort: coordinator-p
targetPort: coord-port
14 changes: 7 additions & 7 deletions deploy/deploy-hasher_service.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hasher-service
name: hasher
spec:
selector:
matchLabels:
app: hasher-service
app: hasher
template:
metadata:
labels:
app: hasher-service
app: hasher
spec:
containers:
- name: app
image: ghcr.io/saetch/hasher_service:latest
ports:
- containerPort: 8080
name: hasher-p
name: hasher-port
env:
- name: DB_HOST
value: test-db
Expand All @@ -34,9 +34,9 @@ metadata:
name: hasher-service
spec:
selector:
app: hasher-service
app: hasher
ports:
- name: hasher-p
- name: hasher-port
protocol: TCP
port: 8080
targetPort: hasher-p
targetPort: hasher-port

0 comments on commit 360dd9f

Please sign in to comment.