This commit is contained in:
parent
07b406c779
commit
00927cc0ba
@ -4,12 +4,14 @@ metadata:
|
|||||||
name: hw-service
|
name: hw-service
|
||||||
namespace: vdk2ch
|
namespace: vdk2ch
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
#type: NodePort
|
||||||
selector:
|
selector:
|
||||||
app: helloworld
|
app: helloworld
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- port: 6666
|
||||||
protocol: TCP
|
|
||||||
port: 80
|
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
nodePort: 30001
|
#name: http
|
||||||
|
#protocol: TCP
|
||||||
|
|
||||||
|
|
||||||
|
#nodePort: 30001
|
@ -12,9 +12,13 @@ spec:
|
|||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
backend:
|
||||||
service:
|
serviceName: hw-service
|
||||||
name: hw-service
|
servicePort: 6666
|
||||||
port:
|
# - path: /
|
||||||
number: 80
|
# pathType: Prefix
|
||||||
|
# backend:
|
||||||
|
# service:
|
||||||
|
# name: hw-service
|
||||||
|
# port:
|
||||||
|
# number: 80
|
Loading…
Reference in New Issue
Block a user