Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

danwinship
Copy link
Contributor

This allows overriding kube-controller-manager's --controllers flag, which will be used by the new periodic e2e test for KEP-4974, which doesn't exist yet.

I thought about naming the variable KCM_CONTROLLERS or something instead, but having it be just the name of the CLI arg was consistent with FEATURE_GATES and RUNTIME_CONFIG...

This allows overriding kube-controller-manager's --controllers flag.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 28, 2025
@k8s-ci-robot k8s-ci-robot requested a review from aojea September 28, 2025 20:31
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: danwinship
Once this PR has been reviewed and has the lgtm label, please assign aojea for approval. For more information see the Code Review Process.

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

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 28, 2025
@k8s-ci-robot
Copy link
Contributor

@danwinship: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-kind-conformance-parallel-dual-stack-ipv4-ipv6 8176c73 link true /test pull-kind-conformance-parallel-dual-stack-ipv4-ipv6
pull-kind-e2e-kubernetes 8176c73 link true /test pull-kind-e2e-kubernetes
pull-kind-conformance-parallel-ga-only 8176c73 link true /test pull-kind-conformance-parallel-ga-only
pull-kind-conformance-parallel-ipv6 8176c73 link true /test pull-kind-conformance-parallel-ipv6
pull-kind-e2e-kubernetes-1-34 8176c73 link true /test pull-kind-e2e-kubernetes-1-34
pull-kind-e2e-kubernetes-1-31 8176c73 link true /test pull-kind-e2e-kubernetes-1-31
pull-kind-e2e-kubernetes-1-32 8176c73 link true /test pull-kind-e2e-kubernetes-1-32
pull-kind-e2e-kubernetes-1-33 8176c73 link true /test pull-kind-e2e-kubernetes-1-33

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.

@aojea
Copy link
Contributor

aojea commented Sep 29, 2025

for ad-hoc jobs we use to make a copy of this script and parametrize it accordenly , see https://github.com/kubernetes/test-infra/tree/master/experiment , specifically

then setting the job is something like

https://github.com/kubernetes/test-infra/blob/a190756db87de069764a104f1c024ecdd052257b/config/jobs/kubernetes/sig-network/sig-network-kind.yaml#L217-L263

This avoid growing the surface of this script and end in a situation like we had in-tree with the cluster-up scripts.

Let's see what @BenTheElder thinks about this too,

@danwinship
Copy link
Contributor Author

Ah, I should have looked more carefully at the various jobs...

Does e2e-k8s.sh ever get bugfixes? It seems like this approach would lead to divergence between the different jobs. At least, maybe there should only be one fork of e2e-k8s.sh in test-infra, that handles all the variants?

Anyway, I'm happy to move this to test-infra. I doubt it would turn out to be that generically useful in the future.

@aojea
Copy link
Contributor

aojea commented Sep 29, 2025

At least, maybe there should only be one fork of e2e-k8s.sh in test-infra, that handles all the variants?

this script is a wrapper to launch a kind cluster and run the ginkgo tests, the only changes it had was to add some new env variables to parametrize it.
If we use one to handle variants then it needs an owner, the risk of adding a bug or some change that impact other jobs exist.
If we fork and make it only per job, then the only risk is for that specific job that has a clear owner and once the job is configured it can not fail unless kind or kubernetes e2e test make a breaking change ... but then this specific job will be the less of our problems

@danwinship danwinship closed this Sep 29, 2025
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. 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.

3 participants