Kubernetes

What is a "Deployment" in Kubernetes?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

A Kubernetes Deployment is used to tell Kubernetes how to create or modify instances of the pods that hold a containerized application. Deployments can scale the number of replica pods, enable rollout of updated code in a controlled manner, or roll back to an earlier deployment version if necessary.

A Deployment is a declarative statement for the desired state for Pods and Replica Sets.