Browse Source

add ingress

pull/145/head
smoskvin 3 years ago
parent
commit
76e0f57382
  1. 18
      guestbook/guestbook-ui-ingress.yaml

18
guestbook/guestbook-ui-ingress.yaml

@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: guestbook-localhost
namespace: guestbook-ui
spec:
ingressClassName: nginx
rules:
- host: guestbook.localdev.me
http:
paths:
- backend:
service:
name: guestbook-ui
port:
number: 80
path: /
pathType: Prefix
Loading…
Cancel
Save