-
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
Removing WindowsHostProcessContainers feature-gate #117570
Removing WindowsHostProcessContainers feature-gate #117570
Conversation
part of kubernetes/enhancements#1981 |
/milestone v1.28 |
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/triage accepted |
d46e28c
to
a42c4e0
Compare
LGTM label has been added. Git tree hash: 100a52002209585ad7133bc3b6ce1e8dcc611572
|
/lgtm |
pkg/kubelet/metrics/metrics.go
Outdated
@@ -613,7 +613,7 @@ var ( | |||
&metrics.CounterOpts{ | |||
Subsystem: KubeletSubsystem, | |||
Name: StartedHostProcessContainersTotalKey, | |||
Help: "Cumulative number of hostprocess containers started. This metric will only be collected on Windows and requires WindowsHostProcessContainers feature gate to be enabled.", | |||
Help: "Cumulative number of hostprocess containers started.", |
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.
does the This metric will only be collected on Windows
bit still apply?
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.
/approve
for API doc change
/hold
one question about the metric docs, lgtm otherwise
pkg/kubelet/metrics/metrics.go
Outdated
@@ -623,7 +623,7 @@ var ( | |||
&metrics.CounterOpts{ | |||
Subsystem: KubeletSubsystem, | |||
Name: StartedHostProcessContainersErrorsTotalKey, | |||
Help: "Cumulative number of errors when starting hostprocess containers. This metric will only be collected on Windows and requires WindowsHostProcessContainers feature gate to be enabled.", | |||
Help: "Cumulative number of errors when starting hostprocess containers.", |
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.
does the This metric will only be collected on Windows
bit still apply?
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.
Good catch! The metric will still only be collected on Windows nodes.
Let me update this.
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.
updated
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, marosset 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 |
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
a42c4e0
to
ab9c8eb
Compare
/lgtm |
LGTM label has been added. Git tree hash: 534b61d32c98faecf40355d480a559f39ce93b15
|
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
WindowsHostProcessContainers went stable in v1.26 and it is now time to remove the feature gate
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig windows