ingress preview
This commit is contained in:
parent
aa813362f8
commit
cad1103d7a
1 changed files with 24 additions and 0 deletions
|
|
@ -120,3 +120,27 @@ spec:
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
status:
|
status:
|
||||||
loadBalancer: {}
|
loadBalancer: {}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
service: hello-world
|
||||||
|
name: hello-world-ingress
|
||||||
|
namespace: hello-world
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: localhost
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: hello-world-preview
|
||||||
|
port:
|
||||||
|
number: 5000
|
||||||
|
path: /preview
|
||||||
|
pathType: Prefix
|
||||||
|
status:
|
||||||
|
loadBalancer: {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue