Access Service IP inisde AKS network

Kopl 166 Reputation points
2022-01-26T20:24:23.347+00:00

Hey team,

I have created a service in AKS and exposed that service. The endpoint is <SERVICE_IP>:5000.

When I try curl -X GET "https:<SERVICE_IP>:5000" inside the pod, I get the data.

However, when I try it in another pod (raw nginx pod in same namespace), I get Access Denied although the service is exposed.

Could you please help?

Thanks

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,999 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Kopl 166 Reputation points
    2022-01-27T18:21:30.797+00:00

    Hello @guybarette and @Sam Cogan , I had some gateway restrictions of the service that were restricting access. By relaxing those restrictions, I am able to hit the service.
    Thanks for your help!

    0 comments No comments