Skip to content

Commit

Permalink
[fix] service nodePort set
Browse files Browse the repository at this point in the history
  • Loading branch information
ghkdqhrbals committed Nov 16, 2023
1 parent 6e31593 commit 33530c5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/onlychat/service/api-server-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
protocol: TCP
port: 8000
targetPort: 8000
nodePort: 30010
nodePort: 30012
type: NodePort
selector:
app: api-server-service
16 changes: 16 additions & 0 deletions k8s/onlychat/service/customer-server-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: customer-server-service
name: customer-server-service
spec:
ports:
- port: 8020
targetPort: 8020
nodePort: 30013
type: NodePort
selector:
app: customer-server-service
status:
loadBalancer: {}
2 changes: 2 additions & 0 deletions k8s/onlychat/service/discovery-server-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ spec:
ports:
- port: 8761
targetPort: 8761
nodePort: 30014
type: NodePort
selector:
app: discovery-server-service

0 comments on commit 33530c5

Please sign in to comment.