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

add feature gate ControllerManagerLeaderMigration #99417

Closed
wants to merge 1 commit into from
Closed

add feature gate ControllerManagerLeaderMigration #99417

wants to merge 1 commit into from

Conversation

jiahuif
Copy link
Member

@jiahuif jiahuif commented Feb 24, 2021

What type of PR is this?

/kind feature

What this PR does / why we need it:

This PR is split from 96541 that add the required feature gate of KEP-2436 (kubernetes/enhancements#2436)
The reason of splitting is that changes to features have different owners than the original PR.

Special notes for your reviewer:

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

# https://github.com/kubernetes/enhancements/blob/d7f1a349bd377e1a476e5634c27933139fd0fafe/keps/sig-cloud-provider/2436-controller-manager-leader-migration/kep.yaml#L39

# List the feature gate name and the components for which it must be enabled
feature-gates:
  - name: ControllerManagerLeaderMigration
    components:
      - cloud-controller-manager
      - kube-controller-manager
disable-supported: true

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/feature Categorizes issue or PR as related to a new feature. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Feb 24, 2021
@k8s-ci-robot
Copy link
Contributor

@jiahuif: This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Feb 24, 2021
@jiahuif
Copy link
Member Author

jiahuif commented Feb 24, 2021

/sig cloud-provider
/priority important-soon
/assign @jpbetz @cheftako

@k8s-ci-robot k8s-ci-robot added sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Feb 24, 2021
@jiahuif
Copy link
Member Author

jiahuif commented Feb 24, 2021

/assign @andrewsykim
for feature approval of SIG Cloud Provider

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jiahuif
To complete the pull request process, please assign andrewsykim after the PR has been reviewed.
You can assign the PR to them by writing /assign @andrewsykim in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jpbetz
Copy link
Contributor

jpbetz commented Feb 24, 2021

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 24, 2021
@jpbetz
Copy link
Contributor

jpbetz commented Feb 24, 2021

/assign @andrewsykim

@jpbetz
Copy link
Contributor

jpbetz commented Feb 24, 2021

@thockin any chance we could get you to approve this? I think @andrewsykim is unavailable. It's already got SIG stamp of approval via the KEP.

@@ -663,6 +663,12 @@ const (
//
// Enables the usage of different protocols in the same Service with type=LoadBalancer
MixedProtocolLBService featuregate.Feature = "MixedProtocolLBService"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also be in kubernetes/staging/src/k8s.io/controller-manager/pkg/features/kube_features.go

@jpbetz
Copy link
Contributor

jpbetz commented Feb 26, 2021

@liggitt would you be willing to approve? It's just the feature gate approved in the KEP

@liggitt
Copy link
Member

liggitt commented Feb 26, 2021

@liggitt would you be willing to approve? It's just the feature gate approved in the KEP

both @cheftako and @andrewsykim should be in https://github.com/kubernetes/kubernetes/blob/master/OWNERS_ALIASES#L537-L538 per https://github.com/kubernetes/community/tree/master/sig-cloud-provider#chairs, which would let them approve this on behalf of sig-cloud-provider

@jiahuif
Copy link
Member Author

jiahuif commented Mar 3, 2021

We won't need this feature gate to be k8s-wide for now. I will re-open it if it needs to be global in the future.

/lgtm cancel
/close

@k8s-ci-robot
Copy link
Contributor

@jiahuif: Closed this PR.

In response to this:

We won't need this feature gate to be k8s-wide for now. I will re-open it if it needs to be global in the future.

/lgtm cancel
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 3, 2021
@jiahuif
Copy link
Member Author

jiahuif commented Mar 3, 2021

The feature gate is added here instead

// owner: @jiahuif
// alpha: v1.21
//
// Enables Leader Migration for kube-controller-manager and cloud-controller-manager
ControllerManagerLeaderMigration featuregate.Feature = "ControllerManagerLeaderMigration"

@jiahuif jiahuif deleted the feature/leader-migration/feature-gate branch March 29, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note-none Denotes a PR that doesn't merit a release note. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants