containerPort alone is enough, hostPort makes it exposed on the host node
This commit is contained in:
parent
4cfb7d9d26
commit
9711660fc4
@ -214,17 +214,14 @@ jenkins:
|
|||||||
Ports:
|
Ports:
|
||||||
- name: rest
|
- name: rest
|
||||||
containerPort: "9200"
|
containerPort: "9200"
|
||||||
hostPort: "9200"
|
|
||||||
- name: api
|
- name: api
|
||||||
containerPort: "9300"
|
containerPort: "9300"
|
||||||
hostPort: "9300"
|
|
||||||
postgres:
|
postgres:
|
||||||
Image: "postgres"
|
Image: "postgres"
|
||||||
ImageTag: "9.6-alpine"
|
ImageTag: "9.6-alpine"
|
||||||
Ports:
|
Ports:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
containerPort: "5432"
|
containerPort: "5432"
|
||||||
hostPort: "5432"
|
|
||||||
EnvVars:
|
EnvVars:
|
||||||
- type: Secret
|
- type: Secret
|
||||||
key: PGP_PASSPHRASE
|
key: PGP_PASSPHRASE
|
||||||
|
Loading…
Reference in New Issue
Block a user