paths and cluster ip

This commit is contained in:
marcel-dempers 2020-04-29 08:06:27 +10:00
parent 33e7e8dfd2
commit 86a146a02c
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,11 @@ spec:
- host: marcel.test
http:
paths:
- path: /
- path: /v1/hello
backend:
serviceName: example-service
servicePort: 80
- path: /v2/hello
backend:
serviceName: example-service
servicePort: 80

View File

@ -5,7 +5,7 @@ metadata:
labels:
app: example-app
spec:
type: LoadBalancer
type: ClusterIP
selector:
app: example-app
ports: