Skip to content

Commit 9ec58d1

Browse files
committed
b-server use port 50052
1 parent 821f470 commit 9ec58d1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

mse-go-demo/a-server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
const (
1919
port = ":8080"
2020

21-
address = "go-b-service:50051"
21+
address = "go-b-service:50052"
2222
)
2323

2424
func handler(w http.ResponseWriter, r *http.Request) {

mse-go-demo/b-server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
const (
20-
port = ":50051"
20+
port = ":50052"
2121
address = "go-c-service:50053"
2222
)
2323

mse-go-demo/helm/mse-go-demo/templates/b-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
memory: 512Mi
2929
ports:
3030
- name: port-1
31-
containerPort: 50051
31+
containerPort: 50052
3232
protocol: TCP
3333
affinity:
3434
podAntiAffinity:

mse-go-demo/helm/mse-go-demo/templates/b-service.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ metadata:
66
spec:
77
ports:
88
- name: port-1
9-
port: 50051
9+
port: 50052
1010
protocol: TCP
11-
targetPort: 50051
11+
targetPort: 50052
1212
selector:
1313
app: b-server
14-
type: ClusterIP
14+
type: ClusterIP

0 commit comments

Comments
 (0)