To ensure network security, the AKS cluster blocks all inbound traffic from the internet to the cluster. By default, the workloads deployed in Kubernetes aren’t accessible to anyone. It can be accessed by only those inside the cluster. We need to expose some specific ports in order to make our application available to the outside world.

The port configuration and port forwarding processes are different in Kubernetes. Usually, when working on virtual machines, we just configure the OS-level firewall to allow inbound traffic to port 444 and allow HTTPS web traffic. In Kubernetes, the control plan manages the network configuration.

Get hands-on with 1200+ tech skills courses.