Skip to content

Commit

Permalink
gateway调用领域模块走k8s内部调用
Browse files Browse the repository at this point in the history
  • Loading branch information
Weaxs committed Jul 19, 2023
1 parent 687dcfa commit c43d360
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bookstore-kubernetes-manifests/gateway-configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ data:
config.toml: |-
[account.client]
connnum = 1
hostport = ["host.docker.internal:8810"]
hostport = ["account:8810"]
[payment.client]
connnum = 1
hostport = ["host.docker.internal:8812"]
hostport = ["payment:8812"]
[warehouse.client]
connnum = 1
hostport = ["host.docker.internal:8811"]
hostport = ["warehouse:8811"]
2 changes: 1 addition & 1 deletion bookstore-kubernetes-manifests/gateway-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
- port: 8888
targetPort: http-server
# 30000-32767
nodePort: 32080
nodePort: 30080
2 changes: 1 addition & 1 deletion bookstore-kubernetes-manifests/payment-configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ data:
[account.client]
connnum = 1
hostport = ["host.docker.internal:8810"]
hostport = ["account:8810"]

0 comments on commit c43d360

Please sign in to comment.