Skip to content

Commit

Permalink
Update docs for Rollout specification.md
Browse files Browse the repository at this point in the history
Add blueGreen activeMetadata / previewMetadata as its part of the spec.

Signed-off-by: Andre Marcelo-Tanner <andre@ada.support>
  • Loading branch information
kzap committed Jun 12, 2023
1 parent 07e6305 commit 6cfcbc4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/features/specification.md
Expand Up @@ -88,7 +88,6 @@ spec:

# Blue-green update strategy
blueGreen:

# Reference to service that the rollout modifies as the active service.
# Required.
activeService: active-service
Expand Down Expand Up @@ -151,6 +150,18 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution: {}
preferredDuringSchedulingIgnoredDuringExecution:
weight: 1 # Between 1 - 100

# activeMetadata will be merged and updated in-place into the ReplicaSet's spec.template.metadata
# of the active pods. +optional
activeMetadata:
labels:
role: active

# Metadata which will be attached to the preview pods only during their preview phase.
# +optional
previewMetadata:
labels:
role: preview

# Canary update strategy
canary:
Expand Down

0 comments on commit 6cfcbc4

Please sign in to comment.