Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

member cluster webhook setup #24

Open
Wenfeng-GAO opened this issue Jan 9, 2024 · 0 comments
Open

member cluster webhook setup #24

Wenfeng-GAO opened this issue Jan 9, 2024 · 0 comments
Assignees
Labels
kind/enhancement New feature or request

Comments

@Wenfeng-GAO
Copy link
Collaborator

Feature Request

I'd like to propose the implementation of a member cluster webhook feature for the Rollout project. This webhook would introduce two key capabilities that can aid in platform presentation and observability, as well as grant more control to the rollout process during updates.

Motivation

As the Rollout project aims to streamline and manage the deployment process in Kubernetes environments efficiently, having additional observability and control during the rollout process can significantly benefit users who wish to have more granular insights and management options. The proposed member cluster webhook would serve this purpose with the following functionalities:

  1. Batch Labeling for Updated Pods: During the rolling update process, it would be beneficial to tag updated pods with labels indicating their batch group. This labeling can help in tracking which pods have been upgraded and to which batch they belong, effectively aiding platform display features and providing valuable information for observability purposes.

  2. Deployment Pause Before Upgrade: To enable the Rollout controller to take over the upgrade process seamlessly, there should be a capability to pause the Deployment before it begins updating. This pause function would allow the Rollout controller to intercede and manage the deployment according to the defined strategy and parameters.

Desired Capabilities

  1. Pod Labeling During Rolling Updates:

    • The webhook should add a label to each pod during the rolling update process that identifies the specific batch group of the rollout.
    • This label can be used by monitoring tools and dashboards to display rollout progress and associated batch information.
  2. Control Over Deployment Updates:

    • The webhook should be capable of pausing the Deployment before an update begins.
    • Once paused, the Rollout controller should detect this state and manage the rollout process according to its configuration.
@Wenfeng-GAO Wenfeng-GAO added the kind/enhancement New feature or request label Jan 9, 2024
@Wenfeng-GAO Wenfeng-GAO self-assigned this Jan 9, 2024
Wenfeng-GAO added a commit that referenced this issue Jan 19, 2024
Wenfeng-GAO added a commit that referenced this issue Jan 19, 2024
Wenfeng-GAO added a commit that referenced this issue Jan 30, 2024
Wenfeng-GAO added a commit that referenced this issue Feb 1, 2024
Wenfeng-GAO added a commit that referenced this issue Feb 1, 2024
Wenfeng-GAO added a commit that referenced this issue Feb 1, 2024
Wenfeng-GAO added a commit that referenced this issue Feb 1, 2024
Wenfeng-GAO added a commit that referenced this issue Feb 1, 2024
Wenfeng-GAO added a commit that referenced this issue Feb 1, 2024
zoumo pushed a commit that referenced this issue Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant