Skip to content

remove recently deleted featuregates from test configs#34374

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
stlaz:cloudproviders
Feb 20, 2025
Merged

remove recently deleted featuregates from test configs#34374
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
stlaz:cloudproviders

Conversation

@stlaz
Copy link
Copy Markdown
Member

@stlaz stlaz commented Feb 20, 2025

k/k master recently got rid of the DisableCloudProviders, DisableKubeletCloudCredentialProviders
feature gates. Remove them from job configs to fix the jobs.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 20, 2025
@k8s-ci-robot k8s-ci-robot added area/config Issues or PRs related to code in /config area/jobs sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Feb 20, 2025
@aojea
Copy link
Copy Markdown
Member

aojea commented Feb 20, 2025

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 20, 2025
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aojea, stlaz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 20, 2025
Copy link
Copy Markdown

@elmiko elmiko left a comment

Choose a reason for hiding this comment

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

i'm not familiar with these configuration, but the removals look accurate with the feature gates that are removed.

"--gce-service-account=default",
],
kubernetes_feature_gates="AllAlpha,DisableCloudProviders,DisableKubeletCloudCredentialProviders,-EventedPLEG",
kubernetes_feature_gates="AllAlpha,-EventedPLEG",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/hold

@hakman @justinsb should approve the kops changes

I do not know if this needs to regenerate some files

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

BTW It's make -C config/jobs/kubernetes/kops, or make -C config/jobs/kubernetes/kops generate-jobs if you don't have AWS credentials. (Maybe we should make that the default ... though I would quite like a job that would periodically run invalidate-pins in that case)

https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes/kops/Makefile

@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 Feb 20, 2025
@k8s-ci-robot k8s-ci-robot merged commit 8689cf1 into kubernetes:master Feb 20, 2025
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@stlaz: Updated the job-config configmap in namespace default at cluster test-infra-trusted using the following files:

  • key kops-periodics-misc2.yaml using file config/jobs/kubernetes/kops/kops-periodics-misc2.yaml
  • key periodic-e2e.yaml using file config/jobs/kubernetes/sig-cloud-provider/periodic-e2e.yaml
  • key sig-node-presubmit.yaml using file config/jobs/kubernetes/sig-node/sig-node-presubmit.yaml
Details

In response to this:

k/k master recently got rid of the DisableCloudProviders, DisableKubeletCloudCredentialProviders feature gates. Remove them from job configs to fix the jobs.

k/k change that broke these: kubernetes/kubernetes#130162

Fixes permafails in:
https://testgrid.k8s.io/amazon-ec2#ci-kubernetes-e2e-ec2-alpha-enabled-default
https://testgrid.k8s.io/amazon-ec2#ci-kubernetes-e2e-ec2-alpha-features
https://testgrid.k8s.io/kops-gce#ci-kubernetes-e2e-cos-gce-alpha-features
https://testgrid.k8s.io/sig-node-presubmits#pr-kubelet-gce-cluster-e2e-credential-provider

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.

@justinsb
Copy link
Copy Markdown
Member

justinsb commented Feb 20, 2025

Yes, LGTM.

If you specify the feature flags, kOps will pass them down. We generally obey what they user explicitly tells us. If we know something is totally wrong (e.g. this feature flag no longer exists in this k8s version) we can add a validation or a warning, but we prefer only to do that for things that are commonly encountered. In this case, feature flags feel like something that most end users don't often specify, and probably doesn't warrant double-checking the user. But of course if we think this is something users will encounter, it's not too hard to add some validation!

@stlaz
Copy link
Copy Markdown
Member Author

stlaz commented Feb 20, 2025

The PR merged before I managed to push removals of the --cloud-provider flags to the kubetest2 kops deployer.

However, such a change would likely still depend on kubernetes/kops#17270

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/config Issues or PRs related to code in /config area/jobs cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants