Anish Nagaraj:
Hi, Can someone tell mw what is wrong with this ingress definition. I created this to resolve LL2-Q5. I saw the explanation video. The only diff between what I have and the video is that I have specified the PathType. But with my definition, the ingress is getting is successfully created but when I curl i get 404.
apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
name: ingress-vh-routing
spec:
rules:
- host: watch.ecom-store
http:
paths:
- path: "/video"
pathType: "Prefix"
backend:
service:
name: video-service
port:
number: 8080
- host: apparels.ecom-store
http:
paths:
- path: "/wear"
pathType: "Prefix"
backend:
service:
name: apparels-service
port:
number: 8080