<p>I've set-up an AKS cluster and am now trying to connect to it.  My deployment YAML is here:</p>

<pre><code>apiVersion: v1
kind: Pod
spec: 
  containers:
    - name: dockertest20190205080020
      image: dockertest20190205080020.azurecr.io/dockertest
      ports:
      - containerPort: 443
metadata: 
  name: my-test
</code></pre>

<p>If I run the dashboard, I get this:</p>

<p><a href="https://i.stack.imgur.com/HqYAB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HqYAB.png" alt="KubernetesDashboard"></a></p>

<p>Which looks like it should be telling me the external endpoint, but isn't.  I have a theory that this is because the Yaml file is only deploying a Pod, which is in some way not able to expose an endpoint - is that the case and if so, why?  Otherwise, how can I find this endpoint?</p>

<p>Thats not how that works, you need to read up on basic kubernetes concept. Pods are only container, to expose pods you need to create services (and you need labels), to expose pods externally you need to set service type to LoadBalancer. You probably want to use deployments instead of pods, its a lot easier\reliable.</p>

<p><a href="https://kubernetes.io/docs/concepts/services-networking/service/" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/service/</a><br>
<a href="https://kubernetes.io/docs/concepts/workloads/controllers/deployment/" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/workloads/controllers/deployment/</a></p>

<p>so in short, you need to add labels to your pod and create a service of type load balancer with selectors that match your pods labels</p>

<pre><code>kind: Service
apiVersion: v1
metadata:
  name: my-service
spec:
  selector:
    app: MyApp
  ports:
  - protocol: TCP
    port: 80
    targetPort: 443
  type: LoadBalancer
</code></pre>
