понеділок, 20 листопада 2023 р.

Kubectl 3 Deployment 1. What is a Deployment?





Deployments represent a set of multiple, identical Pods with no unique identities. A Deployment runs multiple replicas of your application and automatically replaces any instances that fail or become unresponsive. In this way, Deployments help ensure that one or more instances of your application are available to serve user requests. Deployments are managed by the Kubernetes Deployment controller.

Deployments use a Pod template, which contains a specification for its Pods. The Pod specification determines how each Pod should look like: what applications should run inside its containers, which volumes the Pods should mount, its labels, and more.

When a Deployment’s Pod template is changed, new Pods are automatically created one at a time.

The deployment is (simply) responsible for rolling out your application, looking after its updates and rolling back to previous state - if needed. This is achieved because “Deployment” creates corresponding “Replicaset” per each deployment object:

Q1 What Deployment is currently running in milky-way namespace

Q2 How many replicaSets does this Deployment have right now?

Q3 What is Its currently active ReplicaSet Name?

Q4 Which image is used by the Application now (get rs -o wide)?

Немає коментарів:

Дописати коментар