<p>I am a little confused about API server address host that is provided by AKS why am i not able to access the cluster application via the api server address or is there any way i can do that?? I know we can always use LoadBalancer or a NodePort service to access any application inside the cluster externally, but can we do that with the API server address as well.</p>

ashu8912
<p>no, with the API server address you can not access your application.</p>
<p>You only can access the Pod or the Service (just use type <code>ClusterIP</code> to not create an Azure LoadBalancer) from inside you cluster. For external access you would need an <a href="https://learn.microsoft.com/en-us/azure/aks/ingress-basic?tabs=azure-cli" rel="nofollow noreferrer">ingress-controller</a> combined with a Service type <code>LoadBalancer</code>.</p>
<p>You could use the <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/" rel="nofollow noreferrer">API server</a> to create, read, update &amp; delete Kubernetes resources like services, pods, deployments, secrets etc.</p>
