reenu xavier:
I face an issue while working on the labs for ingress. While creating a new ingress for paths /wear and /watch. I have created the yml file as shown in solution, but while trying to access the web page, it is not loading for me.
apiVersion: http://networking.k8s.io/v1|networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-wear-watch
namespace: app-space
annotations:
http://nginx.ingress.kubernetes.io/rewrite-target|nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:- path: /wear
pathType: Prefix
backend:
service:
name: wear-service
port:
number: 8080 - path: /watch
pathType: Prefix
backend:
service:
name: video-service
port:
number: 8080
Please help me on this , as I face same issue for lab 1 and 2 related to ingress.
- path: /wear