Browse Source

add ingress

pull/79/head
Megha Mehta 4 years ago
parent
commit
a9403222b2
  1. 20
      guestbook/ingress.yaml

20
guestbook/ingress.yaml

@ -0,0 +1,20 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: guestbook-ingress
namespace: guestbook
labels:
app.kubernetes.io/component: server
app.kubernetes.io/name: guestbook-server
app.kubernetes.io/part-of: guestbook
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: guestbook-argocd.natwest-labs.com
http:
paths:
- backend:
serviceName: guestbook-ui
servicePort: http
path: /
Loading…
Cancel
Save