website/content/en/docs/reference/glossary/downward-api.md

1.2 KiB

title id date short_description aka full_link tags
Downward API downward-api 2022-03-21 A mechanism to expose Pod and container field values to code running in a container. /docs/concepts/workloads/pods/downward-api/
architecture

Kubernetes' mechanism to expose Pod and container field values to code running in a container.

It is sometimes useful for a container to have information about itself, without needing to make changes to the container code that directly couple it to Kubernetes.

The Kubernetes downward API allows containers to consume information about themselves or their context in a Kubernetes cluster. Applications in containers can have access to that information, without the application needing to act as a client of the Kubernetes API.

There are two ways to expose Pod and container fields to a running container:

Together, these two ways of exposing Pod and container fields are called the downward API.