1 Answers
Hey sasankj,
You can just create a service in front of your SQL server pod ( not container as written in your question), and use the service name as the hostname in your web.config, it should get resolved by k8s dns. You can relate it to docker-compose, where containers can access each other by service name.
Try it out an let us know the result.