8000 Allow users to turn the ExecprobeTimeout feature on or off by carlory · Pull Request #98085 · kubernetes/kubernetes · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Allow users to turn the ExecprobeTimeout feature on or off #98085

Closed

Conversation

carlory
Copy link
Member
@carlory carlory commented Jan 15, 2021

What type of PR is this?

/kind bug
/kind cleanup

What this PR does / why we need it:

Allow users to turn this feature on or off in v1.21

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

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


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. 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. 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 Jan 15, 2021
@k8s-ci-robot k8s-ci-robot requested review from dims and lavalamp January 15, 2021 02:34
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: carlory
To complete the pull request process, please assign saad-ali after the PR has been reviewed.
You can assign the PR to them by writing /assign @saad-ali 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

@carlory
Copy link
Member Author
carlory commented Jan 15, 2021

/assign @saad-ali

@carlory
Copy link
Member Author
carlory commented Jan 15, 2021

/test pull-kubernetes-e2e-gce-ubuntu-containerd

Copy link
Member
@oomichi oomichi left a comment

Choose a reason for hiding this comment

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

This seems a kind of cleanup of #94115
I feel it it fine to not write Does this PR introduce a user-facing change?: in the PR message.

/sig node
/triage accepted

pkg/features/kube_features.go Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added sig/node Categorizes an issue or PR as relevant to SIG Node. triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jan 15, 2021
@oomichi
Copy link
Member
oomichi commented Jan 15, 2021

/cc @oomichi

@k8s-ci-robot k8s-ci-robot requested a review from oomichi January 15, 2021 18:18
@andrewsykim
Copy link
Member

I think we also need to consider whether users would appreciate another release where they can keep the exec probe timeout disabled. From my perspective there's no rush to lock this gate to true so open to leave it around for another release if it helps users. cc @SergeyKanzhelev @derekwaynecarr @dchen1107

@SergeyKanzhelev
Copy link
Member
SergeyKanzhelev commented Jan 15, 2021

I think we also need to consider whether users would appreciate another release where they can keep the exec probe timeout disabled. From my perspective there's no rush to lock this gate to true so open to leave it around for another release if it helps users. cc @SergeyKanzhelev @derekwaynecarr @dchen1107

I agree that extra release would be beneficial. 1.20 is not yet available on GKE so we do not know how fast the timeouts will be updated. And I mostly worried about third-party payload or templates that may take some time to update, not customer apps. Extra 3-4 month would definitely help.

@carlory carlory force-pushed the lock-to-default-exec-probe-timeout branch from cf7b193 to 3323d82 Compare January 17, 2021 16:14
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Jan 17, 2021
@carlory carlory changed the title mark the ExecProbeTimeout feature lock to default Allow users to turn the ExecprobeTimeout feature on or off Jan 17, 2021
@carlory
Copy link
Member Author
carlory commented Jan 17, 2021

@oomichi @andrewsykim @SergeyKanzhelev thanks for your review.

updated

@carlory
Copy link
Member Author
carlory commented Jan 18, 2021

/test pull-kubernetes-e2e-gce-ubuntu-containerd
/test pull-kubernetes-e2e-gce-alpha-features

@carlory
Copy link
Member Author
carlory commented Jan 18, 2021

@oomichi @andrewsykim @SergeyKanzhelev

All tests passed

@@ -774,7 +774,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
HPAContainerMetrics: {Default: false, PreRelease: featuregate.Alpha},
RootCAConfigMap: {Default: true, PreRelease: featuregate.Beta},
SizeMemoryBackedVolumes: {Default: false, PreRelease: featuregate.Alpha},
ExecProbeTimeout: {Default: true, PreRelease: featuregate.GA}, // lock to default in v1.21 and remove in v1.22
ExecProbeTimeout: {Default: true, PreRelease: featuregate.GA}, // remove in v1.22
Copy link
Member

Choose a reason for hiding this comment

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

We have this still commented to remove in v1.22 but we should first lock it for a release before then. I think if we want to change how we're managing the release cycle for this feature we should update the KEP and bump the graduation timelines.

/hold

Copy link
Member

Choose a reason for hiding this comment

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

Agreed we should get the KEP updated before we update this.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member
@SergeyKanzhelev SergeyKanzhelev Feb 19, 2021

Choose a reason for hiding this comment

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

@carlory can you please update the comment so it will not say "1.22".

Suggested change
ExecProbeTimeout: {Default: true, PreRelease: featuregate.GA}, // remove in v1.22
ExecProbeTimeout: {Default: true, PreRelease: featuregate.GA}, // lock to default and remove after v1.22 based on KEP #1972 update

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 19, 2021
@ehashman
Copy link
Member

/kind cleanup
/remove-kind bug

@SergeyKanzhelev
Copy link
Member

KEP link: kubernetes/enhancements#1972 for cross reference

@pacoxu
Copy link
Member
pacoxu commented Feb 18, 2021

@ehashman cancel the hold as Sergey has updated the KEP.
/hold cancel
/lgtm

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 18, 2021
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 18, 2021
@ehashman
Copy link
Member

/priority important-soon

@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Feb 19, 2021
@SergeyKanzhelev
Copy link
Member

/close

in favor of #100023, since there is no reply for a while

@k8s-ci-robot
Copy link
Contributor

@SergeyKanzhelev: Closed this PR.

In response to this:

/close

in favor of #100023, since there is no reply for a while

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.

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/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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/node Categorizes an issue or PR as relevant to SIG Node. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. triage/accepted Indic 5201 ates an issue or PR is ready to be actively worked on.
Projects
Development

Successfully merging this pull request may close these issues.

8 participants
0