-
Notifications
You must be signed in to change notification settings - Fork 41k
ContainerRestartRules feature gate should work with probes #133243
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
Conversation
Hi @yuanwang04. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
/cc @SergeyKanzhelev |
/ok-to-test |
/test pull-kubernetes-e2e-kind-alpha-beta-features |
This feature-related e2e test was skipped in the You don't need to add the |
See https://groups.google.com/a/kubernetes.io/g/dev/c/uVga86nJDuI/m/gVujvOCnDwAJ for instructions |
@yuanwang04 , what @HirazawaUi says diff --git a/test/e2e/node/pods.go b/test/e2e/node/pods.go
index 94171ea245f..dd8528bcf74 100644
--- a/test/e2e/node/pods.go
+++ b/test/e2e/node/pods.go
@@ -718,7 +718,7 @@ var _ = SIGDescribe("Pods Extended (pod generation)", feature.PodObservedGenerat
})
})
-var _ = SIGDescribe("Pod Extended (container restart policy)", feature.ContainerRestartRules, framework.WithFeatureGate(features.ContainerRestartRules), func() {
+var _ = SIGDescribe("Pod Extended (container restart policy)", framework.WithFeatureGate(features.ContainerRestartRules), func() {
f := framework.NewDefaultFramework("pods")
f.NamespacePodSecurityLevel = admissionapi.LevelBaseline |
/test pull-kubernetes-e2e-kind-alpha-beta-features |
changes are ok, and I think it is safe to move forward instead of rolling back. Everything is under the feature gate still. let's wait for tests execution |
/test pull-kubernetes-e2e-kind-alpha-beta-features |
@@ -718,7 +718,7 @@ var _ = SIGDescribe("Pods Extended (pod generation)", feature.PodObservedGenerat | |||
}) | |||
}) | |||
|
|||
var _ = SIGDescribe("Pod Extended (container restart policy)", feature.ContainerRestartRules, framework.WithFeatureGate(features.ContainerRestartRules), func() { | |||
var _ = SIGDescribe("Pod Extended (container restart policy)", framework.WithFeatureGate(features.ContainerRestartRules), func() { |
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
Five passing test cases match |
/test pull-kubernetes-e2e-kind-alpha-features |
@yuanwang04: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
/retest |
[these PASSED, testing again for more signal] |
/priority critical-urgent |
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
/lgtm
/milestone v1.34
LGTM label has been added. Git tree hash: 06d406af05114f50bdd78edb26219edfde035b89
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, SergeyKanzhelev, yuanwang04 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 |
oops, I missed this. Sorry. Let's watch for tests in master |
SGTM, I expect them to pass again, and these were failing not flaking so we probably don't need another run anyhow. But they're quick, cheap, and currently all non-blocking so ... |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Fixes the feature gate ContainerRestartRules not working with readiness probes.
Which issue(s) this PR is related to:
Fixes #133216
KEP: kubernetes/enhancements#5307
Special notes for your reviewer:
Added the
computePodAction
unit tests under the feature gate ContainerRestartRules to ensure all existing behavior stays the same when the feature is enabled.Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: