> For the complete documentation index, see [llms.txt](https://experience-digital-transform.gitbook.io/experience-digital-transformation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://experience-digital-transform.gitbook.io/experience-digital-transformation/cloud-for-dpi/chapter-4/how-a-kubernetes-cluster-works.md).

# How a Kubernetes cluster works

A Kubernetes cluster has a **control plane** and **worker Nodes**. Control-plane machines run the API server and etcd, so their sizing and failure placement protect cluster state. Worker sizing follows workload demand, accelerators and scheduling policy.

The **API server** receives declarations and reports observed state. The scheduler assigns unscheduled Pods. Controllers work toward the declared state, while **etcd** stores cluster state. On each worker Node, **kubelet** asks the **container runtime** to start and stop containers and reports the result to the API. A **Container Network Interface (CNI)** implementation gives Pods their network connectivity. [\[15\]](https://kubernetes.io/docs/concepts/overview/components/)[\[17\]](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/)

<figure><img src="https://1406653965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkZFMZ3jCMUwHtTN0sL4J%2Fuploads%2Fgit-blob-06f81ce0b95d23fc2a696617dd2a9f0ad84f3195%2Ffinal.png?alt=media" alt="A request enters the Kubernetes API, controllers and scheduler decide work, and kubelet plus the container runtime realize Pods on Nodes."><figcaption><p>Figure 2. The control plane decides and records desired state. Node components perform the workload operations.</p></figcaption></figure>

A worker Node contributes infrastructure capacity; a Pod requests workload capacity. The scheduler places Pods according to resources and policy. Adding a Node therefore does not move every Pod automatically. IaaS still provides compute, networking, images, storage and load balancing beneath this lifecycle.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://experience-digital-transform.gitbook.io/experience-digital-transformation/cloud-for-dpi/chapter-4/how-a-kubernetes-cluster-works.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
