-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Action Required: Windows hyper-v container featuregate is deprecated in 1.20 and will be removed in 1.21 #95505
Conversation
@wawa0210: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/sig windows |
I think the feature flag can be marked as depreciated which will also give a warning. Adding the log message to the actual use of the annotations makes sense as you have done. Example: |
@@ -34,6 +35,8 @@ const ( | |||
|
|||
// ShouldIsolatedByHyperV returns true if a windows container should be run with hyperv isolation. | |||
func ShouldIsolatedByHyperV(annotations map[string]string) bool { | |||
klog.Warningf("The hyper-v FeatureGate will be deprecated in 1.20 and removed in 1.21") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
klog.Warningf("The hyper-v FeatureGate will be deprecated in 1.20 and removed in 1.21") | |
klog.Warningf("The hyper-v FeatureGate is deprecated in 1.20 and will be removed in 1.21") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree with the suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx comments~ done
The release note should also include Action required. Something like |
/milestone v1.20 |
@wawa0210 please update the release notes as James mentioned and then we can get this change merged. Thanks! |
done |
/test pull-kubernetes-e2e-azure-disk-windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
kubelet changes lgtm. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: derekwaynecarr, michmike, wawa0210 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks @wawa0210 ! |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #94490
Special notes for your reviewer:
Warn that hyper-v featuregate will be deprecated in 1.20 and will be removed in 1.21
According to the results of sig-windows discussion, the hyper-v featuregate will be removed in version 1.21, so a warning message will be given in version 1.20
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/assign @derekwaynecarr