This commit is contained in:
@@ -64,10 +64,12 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: node-1
|
app: node-1
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- name: http
|
||||||
|
protocol: TCP
|
||||||
port: 4000
|
port: 4000
|
||||||
targetPort: 4000
|
targetPort: 4000
|
||||||
- protocol: TCP
|
- name: dist
|
||||||
|
protocol: TCP
|
||||||
port: 9000
|
port: 9000
|
||||||
targetPort: 9000
|
targetPort: 9000
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|||||||
@@ -64,10 +64,12 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: node-2
|
app: node-2
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- name: http
|
||||||
|
protocol: TCP
|
||||||
port: 4000
|
port: 4000
|
||||||
targetPort: 4000
|
targetPort: 4000
|
||||||
- protocol: TCP
|
- name: dist
|
||||||
|
protocol: TCP
|
||||||
port: 9000
|
port: 9000
|
||||||
targetPort: 9000
|
targetPort: 9000
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|||||||
@@ -64,10 +64,12 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: node-3
|
app: node-3
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- name: http
|
||||||
|
protocol: TCP
|
||||||
port: 4000
|
port: 4000
|
||||||
targetPort: 4000
|
targetPort: 4000
|
||||||
- protocol: TCP
|
- name: dist
|
||||||
|
protocol: TCP
|
||||||
port: 9000
|
port: 9000
|
||||||
targetPort: 9000
|
targetPort: 9000
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|||||||
Reference in New Issue
Block a user