Skip to main content

Networking

How does Kubernetes API Server Listen to 6443 Without a service

In a Kubernetes cluster, the API server listens on port 6443 for incoming requests from clients (such as kubectl, other components, or external applications).

The API server does not require a Kubernetes Service to listen on port 6443.

It is a standalone component that runs as a process within the control plane nodes of the cluster. The API server is configured to listen on a specific IP address and port (typically 6443) within the control plane nodes.

To understand this, we need to first understand about Network Namespaces.