Skip to content

Commit

Permalink
type LoadBalancer
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonatanpereiradock committed Oct 1, 2024
1 parent 3566db5 commit 0eba542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app: deployment-tech-challenge-api
spec:
replicas: 3
replicas: 2
selector:
matchLabels:
app: deployment-tech-challenge-api
Expand Down
3 changes: 1 addition & 2 deletions .kubernetes/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ kind: Service
metadata:
name: service-tech-challenge-api
spec:
type: NodePort
type: LoadBalancer
ports:
- port: 3000
targetPort: 3000
nodePort: 32000
selector:
app: deployment-tech-challenge-api

0 comments on commit 0eba542

Please sign in to comment.