Support ingress path for kubernetes (#1245)

* Support ingress path for kubernetes
This commit is contained in:
Hang Yan
2020-02-23 19:25:43 +08:00
committed by GitHub
parent 49d8133fb9
commit 1685ab3001
5 changed files with 18 additions and 5 deletions
@@ -5,7 +5,7 @@ web:
links:
- redis
labels:
kompose.service.expose: " batman.example.com ,, batwoman.example.com "
kompose.service.expose: " batman.example.com/home ,, batwoman.example.com "
redis:
image: redis:3.0
ports:
@@ -44,7 +44,7 @@
},
"annotations": {
"kompose.cmd": "%CMD%",
"kompose.service.expose": " batman.example.com ,, batwoman.example.com ",
"kompose.service.expose": " batman.example.com/home ,, batwoman.example.com ",
"kompose.version": "%VERSION%"
}
},
@@ -125,7 +125,7 @@
"metadata": {
"annotations": {
"kompose.cmd": "%CMD%",
"kompose.service.expose": " batman.example.com ,, batwoman.example.com ",
"kompose.service.expose": " batman.example.com/home ,, batwoman.example.com ",
"kompose.version": "%VERSION%"
},
"creationTimestamp": null,
@@ -146,7 +146,7 @@
"metadata": {
"annotations": {
"kompose.cmd": "%CMD%",
"kompose.service.expose": " batman.example.com ,, batwoman.example.com ",
"kompose.service.expose": " batman.example.com/home ,, batwoman.example.com ",
"kompose.version": "%VERSION%"
},
"creationTimestamp": null,
@@ -193,6 +193,7 @@
"http": {
"paths": [
{
"path": "/home",
"backend": {
"serviceName": "web",
"servicePort": 5000