ingress preview

This commit is contained in:
Waylon Walker 2024-03-12 20:13:16 -05:00
parent aa813362f8
commit cad1103d7a
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -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: {}