What is a Deployment in Kubernetes?


𝗪𝗵𝗮𝘁 𝗶𝘀 𝗮 𝗗𝗲𝗽𝗹𝗼𝘆𝗺𝗲𝗻𝘁 𝗶𝗻 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀?

𝐷𝑒𝑝𝑙𝑜𝑦𝑚𝑒𝑛𝑡 𝑚𝑎𝑛𝑎𝑔𝑒𝑠 𝑎 𝑠𝑒𝑡 𝑜𝑓 𝑃𝑜𝑑𝑠 𝑡𝑜 𝑟𝑢𝑛 𝑎𝑝𝑝𝑙𝑖𝑐𝑎𝑡𝑖𝑜𝑛 𝑤𝑜𝑟𝑘𝑙𝑜𝑎𝑑𝑠 𝑎𝑛𝑑 𝑐𝑟𝑒𝑎𝑡𝑒 𝑛𝑒𝑤 𝑜𝑛𝑒𝑠 𝑤ℎ𝑒𝑛 𝑛𝑒𝑒𝑑𝑒𝑑. 𝐼𝑡 𝑚𝑎𝑖𝑛𝑡𝑎𝑖𝑛𝑠 𝑖𝑡𝑠 𝑠𝑡𝑎𝑡𝑒.


In Deployment, you set some commands for Kubernetes. Some of them are Replicas, Images, Resources, and much more. Deployment runs as creating a replica set that manages several pods (set of containers) to run as do their task.


If you delete one pod then it will create a new one. If you delete the replica set it creates another. Forcelly, you deleted deployment then pods and replica set will be gone. Simplifying and Managing Pods is the task of Deployment.

𝗪𝗵𝘆 𝗨𝘀𝗲 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀 𝗗𝗲𝗽𝗹𝗼𝘆𝗺𝗲𝗻𝘁?

- Efficient Scaling

- Rolling & Updates

- Management


Deployment is simply the way to go.

Just Be Sure

Post a Comment

0 Comments