In that ingress section of AKS, we can add routes to multiple application but all having container port as 80 only. With Ingress, our application is using port 8080. But with ingress, even if I keep servicePort as 8080, it is not working.
Like, adding routes to multiple apps with different ports for their service.
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: nginxapp1-ingress-service
spec:
rules:
- http:
paths:
- path: /
backend:
serviceName: testing
servicePort: 8080