Hello @Abhishek Singh ,
You can edit the ingress file to change the backend service names:
For example you can follow below steps:
kubectl get ingress (Get the current ingress)
PS C:\aks> kubectl get ingress
NAME CLASS HOSTS ADDRESS PORTS AGE
ingressnginx <none> * 52.152.91.154 80 10m
Edit the ingress by outputting to YAML file
kubectl edit ingress ingressnginx -o yaml (It will open a new file in a notepad)
PS C:\aks> kubectl edit ingress ingressnginx -o yaml
ingress.networking.k8s.io/ingressnginx edited
In the notepad , you can go-ahead and modify the service name and save it.
Let us know if you have follow-up questions.
Regards,
Shiva.