mirror of
https://github.com/bitnami/containers.git
synced 2026-02-22 16:17:21 +08:00
Set kompose.service.type label so kubernetes service is NodePort
This commit is contained in:
@@ -3,7 +3,9 @@ version: '2'
|
||||
services:
|
||||
php:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: bitnami/php-fpm:5.6
|
||||
image: 'bitnami/php-fpm:5.6'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- 9000:9000
|
||||
volumes:
|
||||
|
||||
@@ -3,7 +3,9 @@ version: '2'
|
||||
services:
|
||||
php:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: bitnami/php-fpm:7.0
|
||||
image: 'bitnami/php-fpm:7.0'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- 9000:9000
|
||||
volumes:
|
||||
|
||||
@@ -3,7 +3,9 @@ version: '2'
|
||||
services:
|
||||
php:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: bitnami/php-fpm:7.1
|
||||
image: 'bitnami/php-fpm:7.1'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- 9000:9000
|
||||
volumes:
|
||||
|
||||
@@ -3,7 +3,9 @@ version: '2'
|
||||
services:
|
||||
php:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: bitnami/php-fpm:latest
|
||||
image: 'bitnami/php-fpm:latest'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- 9000:9000
|
||||
volumes:
|
||||
|
||||
@@ -3,6 +3,8 @@ items:
|
||||
- apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.type: nodeport
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: php
|
||||
@@ -14,11 +16,14 @@ items:
|
||||
targetPort: 9000
|
||||
selector:
|
||||
io.kompose.service: php
|
||||
type: NodePort
|
||||
status:
|
||||
loadBalancer: {}
|
||||
- apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.type: nodeport
|
||||
creationTimestamp: null
|
||||
name: php
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user