I have created helm charts for deploying the kubernetes objects. I have created services, ingress and deployments for hosting my microservices. I created application gateway and I'm trying to use application gateway as public load balancer for my cluster. But my ingress not pointing to application gateway load balancer and ip address also showing empty.
please find my configuration values below.
Ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: myingress
annotations:
kubernetes.io/ingress.class: azure/application-gateway
spec:
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: demo-microservice
port:
number: 80
Service.yaml
apiVersion: v1
kind: Service
metadata:
name: "{{ .Values.name }}"
labels:
app: "{{ .Values.name }}"
spec:
type: ClusterIP
selector:
app: "{{ .Values.name }}"
ports:
- protocol: TCP
name: http
port: 80
targetPort: 80
Note : Also I have enabled Ingress controller and mapped my application gateway while creating the cluster.
But IP address is not got assigned. My azure application gateway loadbalancer also not redirecting to my application. I'm not sure what I'm missing. Anyone please assist me on this
]2
Reference aks ingress address is empty