mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
paths and cluster ip
This commit is contained in:
parent
33e7e8dfd2
commit
86a146a02c
@ -15,7 +15,11 @@ spec:
|
|||||||
- host: marcel.test
|
- host: marcel.test
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /v1/hello
|
||||||
|
backend:
|
||||||
|
serviceName: example-service
|
||||||
|
servicePort: 80
|
||||||
|
- path: /v2/hello
|
||||||
backend:
|
backend:
|
||||||
serviceName: example-service
|
serviceName: example-service
|
||||||
servicePort: 80
|
servicePort: 80
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: example-app
|
app: example-app
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
app: example-app
|
app: example-app
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user