NashTech Insights

Kubernetes deployment strategies and use-case

Sanchit Raj
Sanchit Raj
Table of Contents

Each strategy offers a unique approach to manage updates.

image of deployment process

1. 𝗥𝗲𝗰𝗿𝗲𝗮𝘁𝗲:

Terminating all existing instances simultaneously, and creating new instances with the updated version.

𝘋𝘰𝘸𝘯𝘵𝘪𝘮𝘦: Yes
Scenario: Employ for non-critical applications or during initial development phases.

𝟮. 𝗥𝗼𝗹𝗹𝗶𝗻𝗴 𝗨𝗽𝗱𝗮𝘁𝗲:

Updating application instances takes place individually, ensuring high availability throughout the process.

𝘋𝘰𝘸𝘯𝘵𝘪𝘮𝘦: No
𝘜𝘴𝘦 𝘤𝘢𝘴𝘦: Periodic releases

𝟯. 𝗦𝗵𝗮𝗱𝗼𝘄:

Redirecting a copy of the live traffic to the new version for testing, without impacting production users.
This deployment strategy is highly intricate and encompasses the creation of simulated services to interact with the new deployment version

𝘋𝘰𝘸𝘯𝘵𝘪𝘮𝘦: No
Approach: Verifying the performance and behaviour of the new version in an actual environment.

𝟰. 𝗖𝗮𝗻𝗮𝗿𝘆:

The updated version is introduced to a limited number of users or servers for testing prior to wider implementation.

𝘋𝘰𝘸𝘯𝘵𝘪𝘮𝘦: No
Approach: Evaluating the impact on a portion of users.

𝟱. 𝗕𝗹𝘂𝗲-𝗚𝗿𝗲𝗲𝗻:

– Maintaining two identical environments: one with the current version (blue) and the other with the updated version (green).
– Traffic initiates with the blue environment and subsequently transitions to the configured green environment for the new version.

𝘋𝘰𝘸𝘯𝘵𝘪𝘮𝘦: No
𝘜𝘴𝘦 𝘤𝘢𝘴𝘦: High-stake updates

𝟲. 𝗔/𝗕 𝗧𝗲𝘀𝘁𝗶𝗻𝗴:

Concurrently testing multiple versions on different users to compare performance or user experience.

𝘋𝘰𝘸𝘯𝘵𝘪𝘮𝘦: Not directly applicable
𝘜𝘴𝘦 𝘤𝘢𝘴𝘦: Optimising user experience

Please refer this link for more information —

Sanchit Raj

Sanchit Raj

Leave a Comment

Your email address will not be published. Required fields are marked *

Suggested Article