Set kompose.service.type label so kubernetes service is NodePort

This commit is contained in:
Tomas Pizarro
2017-05-17 15:59:25 +00:00
parent 52a299cce9
commit f949fb3a7b
5 changed files with 17 additions and 4 deletions

View File

@@ -3,7 +3,9 @@ version: '2'
services:
node:
tty: true # Enables debugging capabilities when attached to this container.
image: bitnami/node:latest
image: 'bitnami/node:latest'
labels:
kompose.service.type: nodeport
# command: sh -c 'npm install && npm start'
ports:
- 3000:3000