Deployment Strategies
Deployment Strategies
Ploi Cloud supports rolling deployment strategies by default to ensure a smooth deployment.
Rolling Deployments
The default strategy that provides zero-downtime deployments:
New instances are created with the new deployment.
Traffic gradually shifts to new pods
Old instances are terminated once new ones are healthy
Automatic rollback if health checks fail
Health Checks
Configure health checks for reliable deployments:
Liveness Probe: Restarts unhealthy instances
Readiness Probe: Controls traffic routing
Startup Probe: Allows slow-starting applications
The use of these health checks are optional and can be disabled if required. However, this means that Ploi Cloud cannot detect if your application is failing and act on it. The health check should always return a 200 HTTP status code to confirm that the application is up and running.