I have created a private cluster in a region.Then we deployed a NAT router in that region (which has a static ip).
Now this cluster sent traffic through this ip. So we whitelisted this IP to call our API. We used this pod as a self hosted agent in azure devops pipeline.
But when we are trying to access our API using this agent (pod), we are getting Name or service not known. So we tried calling our api with the client IP instead of DNS name, which is now throwing Connection timed out (<ip address>:443) .
P:S: I have created a firewall which will allow ingress and eggress to this ip in port 443.
Please help me to know what's went wrong
Thanks in advance.