Skip to content

Commit

Permalink
Update question-svc deployment and k8 files
Browse files Browse the repository at this point in the history
  • Loading branch information
delishad21 committed Nov 9, 2024
1 parent 0a55327 commit 5e3ded5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions kubernetes/collab-service/collab-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ spec:
- secretRef:
name: collab-secrets
resources:
requests:
memory: "250Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "250m"
4 changes: 2 additions & 2 deletions kubernetes/matching-service/matching-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ spec:
name: matching-secrets
resources:
requests:
memory: "250Mi"
cpu: "100m"
memory: "1Gi"
cpu: "250m"
4 changes: 2 additions & 2 deletions kubernetes/question-service/question-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ spec:
name: app-secrets
resources:
requests:
memory: "250Mi"
cpu: "100m"
memory: "1Gi"
cpu: "250m"
4 changes: 2 additions & 2 deletions kubernetes/user-service/user-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ spec:
name: user-secrets
resources:
requests:
memory: "250Mi"
cpu: "100m"
memory: "1Gi"
cpu: "250m"
2 changes: 2 additions & 0 deletions question-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ COPY ./src ./src

COPY ./tsconfig.json ./

RUN npm run build

CMD ["npm", "start"]
2 changes: 1 addition & 1 deletion question-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/server.js",
"scripts": {
"build": "npx tsc",
"start": "ts-node src/server.ts",
"start": "node dist/server.js",
"dev": "nodemon src/server.ts",
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit 5e3ded5

Please sign in to comment.