Posts

Showing posts from October, 2024

Deployment Strategies

Image
  Overview A Kubernetes deployment strategy defines an application’s lifecycle that achieves and maintains the configured state for objects and applications in an automated manner. Effective deployment strategies minimize risk. Kubernetes deployment strategies are used to:  Deploy, update, or rollback ReplicaSets, Pods, Services, and Applications  Pause/Resume Deployments  Scale Deployments manually or automatically  Types of deployment strategies The following are six types of deployment strategies: Recreate  Rolling  Blue/green  Canary  A/B testing  Shadow  You can use either a single deployment strategy or a combination of multiple deployment strategies. Recreate strategy In the recreate strategy, Pods running the live version of the application are all shut down simultaneously, and a new version of the application is deployed on newly created Pods.  Recreate is the simplest deployment strategy. There is a short downtime between the shutdown of the existing deployment and the new de