title: How to reach/consume external endpoints in my cluster
body: <p>First of all I am pretty new on Kubernetes and containerized world.</p>
  <p>My scenario is as follows:</p>
  <p>I have a application which is deployed to AKS, we are using AGIC as ingress. The application is consuming endpoints hosted outside the AKS. The consumed application is publicly accessible but it has IP whitelisting. I am whitelisting the Application Gateway IP. Also I created a External Service as such.</p>
  <pre class="lang-yaml prettyprint-override"><code>kind: Service
  apiVersion: v1
  metadata:
    name: service-endpoint
  spec:
    type: ExternalName
    externalName: endpointname.something.com
    ports:
    - protocol: TCP
      port: 433
  </code></pre>
  <p>But it does not work.</p>
  <p>Additionally I tried to ping the direct endpoint URL(<a href="https://endpointname.something.com" rel="nofollow noreferrer">https://endpointname.something.com</a>) from the pod, and I receive 403.</p>
  <p>Can someone advice what would be the correct steps in order to achieve this connectivity?</p>