Skip to content

Allow spec.replicas to flow through blue/green deployments. #4302

Open
@im-aIex

Description

@im-aIex

Summary

Currently, when making changes using blue/green, new changes are expected to be made to the green instance before promoting. When changing spec.replicas, the changes are made to both the green and blue instances, resulting in active traffic being impacted prior to promotion.

While there is the spec.strategy.blueGreen.previewReplicaCount, this does not allow for a way to change the replicas of what will eventually be the blue instance, without impacting the existing blue instance.

It would be nice if there were an option to allow the spec.replicas changes to only impact the green instance, waiting for promotion until the blue instance is changed (when pointing to the green ReplicaSet).

Use Cases

Changing spec.replicas and doing load testing against the green instance to ensure rightsizing prior to promoting.


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions