Skip to content

Commit 0c0f947

Browse files
committed
nodeport to clusterip for manifests
1 parent 19dfdf5 commit 0c0f947

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

manifests/result-service.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ metadata:
55
app: result
66
name: result
77
spec:
8-
type: NodePort
8+
type: ClusterIP
99
ports:
1010
- name: "result-service"
1111
port: 5001
1212
targetPort: 80
13-
nodePort: 31001
1413
selector:
1514
app: result

manifests/vote-service.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ metadata:
55
app: vote
66
name: vote
77
spec:
8-
type: NodePort
8+
type: ClusterIP
99
ports:
1010
- name: "vote-service"
1111
port: 5000
1212
targetPort: 80
13-
nodePort: 31000
1413
selector:
1514
app: vote
1615

0 commit comments

Comments
 (0)