Kubernetes - Ingress
You applied this Ingress YAML but traffic is not routing correctly:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bad-ingress
spec:
rules:
- http:
paths:
- path: /app
pathType: Prefix
backend:
serviceName: app-service
servicePort: 80
What is the likely cause of the problem?