one ingress
This commit is contained in:
parent
009b5d37fc
commit
8b070fe684
1 changed files with 3 additions and 18 deletions
|
|
@ -104,12 +104,11 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
service: hello-world
|
service: hello-world
|
||||||
name: hello-world-ingress-active
|
name: hello-world-ingress
|
||||||
namespace: hello-world
|
namespace: hello-world
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: localhost
|
- http:
|
||||||
http:
|
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
service:
|
service:
|
||||||
|
|
@ -118,22 +117,8 @@ spec:
|
||||||
number: 5000
|
number: 5000
|
||||||
path: /active
|
path: /active
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
status:
|
|
||||||
loadBalancer: {}
|
|
||||||
|
|
||||||
---
|
- http:
|
||||||
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
service: hello-world
|
|
||||||
name: hello-world-ingress-preview
|
|
||||||
namespace: hello-world
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: localhost
|
|
||||||
http:
|
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
service:
|
service:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue