From 4b27c39284aa1e1043c0027e33e07e6a86b133eb Mon Sep 17 00:00:00 2001 From: Andre Marcelo-Tanner Date: Mon, 12 Jun 2023 09:44:03 -0400 Subject: [PATCH] Update docs for Rollout specification.md Add blueGreen activeMetadata / previewMetadata as its part of the spec. --- docs/features/specification.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/features/specification.md b/docs/features/specification.md index 900f71704c..b153ae2025 100644 --- a/docs/features/specification.md +++ b/docs/features/specification.md @@ -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 @@ -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: