# Pods

**Pods** are the smallest deployable units of computing that you can create and manage in Kubernetes.

A Pod is similar to a set of containers with shared namespaces and shared filesystem volumes.

<figure><img src="/files/UgzSjIAKw546Mb8dAaxF" alt=""><figcaption></figcaption></figure>

**Init containers** are executed before both the sidecar and main application containers, and their successful completion is a prerequisite for the other containers to start. Init containers offer versatility, allowing actions like checking for application dependencies or configuring the environment for main and sidecar containers.

**Sidecar containers** run concurrently with the main application container and serve various purposes. For instance, in Istio, a sidecar container functions as a traffic proxy for the main container, and it can also handle tasks such as logging and monitoring.

<br>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.mikaelsamvelian.com/devops-knowledge/containers/container-orchestration/kubernetes/pods.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
