apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-stuff
spec:
ingressClassName: nginx
rules:
- http:
paths:
#I don't have to use /s. I could use /
- path: /
pathType: Prefix
backend:
service:
name: sa-frontend-lb
port:
number: 80
- path: /sentiment
pathType: Prefix
backend:
service:
name: sa-web-app-lb
port:
number: 80