Skip to content

Glossary: Containers & Kubernetes

72 DevOps terms explained: Containers & Kubernetes.

Index
72 items

Affinity

Also node affinity · pod anti-affinity

Rules that attract pods to certain nodes (node affinity) or spread / co-locate them relative to other pods (pod affinity and anti-affinity), e.g. spread replicas across zones.

Annotations

Key-value metadata on Kubernetes objects that isn't used for selection, read by tools (e.g. ingress settings, Prometheus scrape hints).

Bind mount

Mounting a directory or file from the host into a container (e.g. -v ./src:/app). Handy for development; ties the container to that host.

Cluster

A set of nodes (machines) managed as one by Kubernetes: a control plane plus worker nodes.

CNI

Also Container Network Interface

The plugin standard that gives pods network connectivity and IPs; implementations include Calico, Cilium, Flannel and cloud-native CNIs. Some also enforce network policies.

ConfigMap

A Kubernetes object holding non-secret configuration (key-values or files) injected into pods as env vars or mounted files.

Container orchestration

Automating where containers run, restarting them, scaling, networking, rolling updates and service discovery across many machines. Kubernetes is the standard.

Container runtime

The software that actually runs containers. High-level: containerd, CRI-O (used by Kubernetes). Low-level: runc, crun.

CrashLoopBackOff

A pod status: the container keeps crashing on start, and Kubernetes waits longer and longer between restarts. Check kubectl logs --previous and describe.

DaemonSet

Runs one copy of a pod on every (or every selected) node, typically for agents: log shippers, monitoring, CNI.

Docker Compose

A YAML file (compose.yaml) that defines several services, networks and volumes, started together with docker compose up. Great for local dev and single-host deployments.

etcd

The distributed key-value store holding all Kubernetes cluster state. Back it up; losing it means losing the cluster's configuration.

Gateway API

The newer, more expressive successor to Ingress for Kubernetes traffic routing, with roles split between infrastructure (Gateway) and app teams (HTTPRoute).

Helm chart

A package of templated Kubernetes manifests plus default values. helm install/upgrade renders it with your values and tracks releases with revisions you can roll back.

Hypervisor

Software that runs virtual machines: type 1 runs on bare metal (ESXi, KVM, Hyper-V), type 2 runs on a host OS (VirtualBox).

Image layer

Each Dockerfile instruction that changes files creates a layer; layers are cached and shared between images. Order instructions so rarely changing ones come first for faster builds.

Image tag

A human-readable, movable label for an image version, such as nginx:1.27. Tags can be overwritten; latest is just a tag, not necessarily the newest.

ImagePullBackOff

Also ErrImagePull

Kubernetes can't pull the container image: wrong name or tag, missing registry credentials (imagePullSecrets) or registry unreachable.

Init container

A container that runs to completion before the app containers start, e.g. to wait for a database or run a migration.

Job and CronJob

A Job runs pods until a task completes successfully (a migration, a batch). A CronJob creates Jobs on a schedule.

kubeconfig

The file (~/.kube/config) holding clusters, users (credentials) and contexts. A context = cluster + user + default namespace.

Kubelet

The agent on every node that receives pod specs from the API server, starts containers via the runtime, runs probes and reports status.

Kubernetes API server

Also kube-apiserver

The front door of the cluster: every kubectl command, controller and kubelet talks to it over REST. It validates requests and stores objects in etcd.

Kustomize

Customizes plain Kubernetes YAML with overlays (base plus per-environment patches) without templates. Built into kubectl apply -k.

Namespaces and cgroups

The Linux kernel features behind containers. Namespaces isolate what a process can see (PIDs, network, mounts, users); cgroups limit what it can use (CPU, memory, I/O).

Node

A worker machine (VM or physical) in the cluster. Runs the kubelet, a container runtime and kube-proxy, and hosts pods.

OCI

Also Open Container Initiative

The open standards for container image format, runtime and distribution, so images built by Docker, Podman or Buildah run anywhere.

OpenShift

Red Hat's Kubernetes distribution with extra developer and security features: Routes, BuildConfigs, stricter default security, a web console. CLI: oc.

Podman

A daemonless, Docker-compatible container engine from Red Hat that can run containers rootless and group them in pods.

Probes

Also liveness probe · readiness probe · startup probe

Health checks the kubelet runs: liveness (restart if it fails), readiness (remove from Service endpoints if it fails), startup (give slow apps time before liveness starts).

Requests and limits

Requests are the CPU and memory a container is guaranteed and the scheduler reserves; limits are the max it may use. Exceeding the memory limit gets the container OOMKilled; exceeding CPU gets it throttled.

Sidecar

A helper container running alongside the main one in the same pod: a service mesh proxy, a log shipper, a secret refresher.

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…