Kubernetes manifest
A YAML or JSON file that describes one or more Kubernetes objects, ready to be sent to the cluster with kubectl apply.
In more detail
A manifest is the desired state written down, so it can be reviewed, stored in Git and applied again with the same result. Several objects can share one file when separated by a line of three dashes. Tools such as Helm and Kustomize generate ordinary manifests in the end.
Example
kubectl apply -f pod.yamlRelated terms
- YAML — A human-friendly text format for configuration, where indentation shows structure.
- desired state — A description of how a machine should look when the work is finished, rather than a list of steps to get there.
- kubectl apply — The kubectl command that creates or updates Kubernetes objects to match the manifests you give it.
- Ingress — A Kubernetes object that describes how outside HTTP traffic reaches services inside the cluster, by host name and URL path.
- Kubernetes — An open-source system that runs and manages containers across a cluster of machines.
- Kubernetes object — A record stored in the cluster that describes one thing you want, such as a Pod, a Service or a Namespace.
- declarative configuration — Describing the end result you want in files and letting a tool work out the steps, rather than typing each step as a command.
- Kubernetes Secret — A Kubernetes object for small sensitive values such as passwords and tokens, which pods can use as files or environment variables.
Taught in
- Runners: Where Code Executes — Continuous Integration & Continuous Delivery Pipelines
- The Push Model vs. The Pull Model — Continuous Integration & Continuous Delivery Pipelines
- What is GitOps? — Continuous Integration & Continuous Delivery Pipelines
- Repository Layout for Environments — Continuous Integration & Continuous Delivery Pipelines
- Kubernetes Ingress, Routing & TLS Termination — Production Full-Stack Engineering
- From Docker To Desired State — Kubernetes: Production-Grade Container Orchestration
- Control Plane: etcd, API Server, Scheduler, Controllers — Kubernetes: Production-Grade Container Orchestration
- Bootstrap A Local Cluster And Check Your Context — Kubernetes: Production-Grade Container Orchestration
- Namespaces, Labels And Declarative Manifests — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: Forbidden Requests And Admission Rejections — Kubernetes: Production-Grade Container Orchestration
- Package The Service As A Helm Chart — Kubernetes: Production-Grade Container Orchestration
- Kustomize Base And Dev And Prod Overlays — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: GitOps Drift And Controller Failures — Kubernetes: Production-Grade Container Orchestration
- The Environment Variable Trap — Application Security & Threat Modeling for Engineers
- Workload Identity — Application Security & Threat Modeling for Engineers