mirror of https://github.com/k3s-io/k3s
podex/nodejs-hello: add hostPort
parent
68ce589d5f
commit
1b2604f642
|
@ -9,6 +9,7 @@
|
|||
"ports": [
|
||||
{
|
||||
"name": "nodejs-hello-tcp-8080",
|
||||
"hostPort": 80,
|
||||
"containerPort": 8080,
|
||||
"protocol": "TCP"
|
||||
}
|
||||
|
|
|
@ -6,5 +6,6 @@ containers:
|
|||
image: google/nodejs-hello
|
||||
ports:
|
||||
- name: nodejs-hello-tcp-8080
|
||||
hostPort: 80
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
|
|
Loading…
Reference in New Issue