Skip to content
Install

Choose an update strategy

The update strategy controls how Orchard replaces an app’s pods when you deploy a new version, which decides whether visitors see any downtime. Most apps keep the default, Rolling. Change it when an app cannot run two versions at the same time, or when you want traffic to move only after every new pod is ready.

StrategyCLI valueBehavior
RollingrollingupdateNew pods start before old pods stop.
RecreaterecreateAll pods stop first. The app has brief downtime.
Blue/greenbluegreenTraffic moves to new pods when the new pods are ready.

Apps with storage must use Recreate. The other strategies are not available for those apps.

  • Edit access to the project.
  1. Open the app.
  2. Go to Settings > Deploy behavior.
  3. In Updates, select a Strategy.

Orchard saves the change immediately. The new strategy applies to the next deploy.

Keep ready during a drain sets how many pods stay ready when a node drains. This setting creates a Kubernetes PodDisruptionBudget.

  1. Open the app.
  2. Go to Settings > Deploy behavior.
  3. In Updates, set Keep ready during a drain.

Orchard saves the change immediately.

The setting takes effect when the app has more replicas than the value. If you set the value to 0, a drain can take all pods down at the same time.