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

Kindnet requires cluster to provide ipam via the node.spec.podcidr #17215

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

aojea
Copy link
Member

@aojea aojea commented Jan 16, 2025

Different cloud providers provide the basic ipam functionality on the node.spec.podcidr via different components.

Typically this was done on the kube-controller-manager, but since the removal of the in-tree cloud provider code in Kubernetes, the GCP only ipam mode called CloudAllocator is not available, so it is provided by the cloud-controller-manager.

The commit in 27e8624 made a GCP only check to apply to all cloud providers, hence disabling the ipamm functionality in the KCM, and as a consequence the kindnet jobs that depend on that started failing

https://testgrid.k8s.io/kops-distro-u2404#kops-aws-cni-kindnet

Revert that PR and keep the dumping functionality that is unrelated to the IPAM functionality

@k8s-ci-robot k8s-ci-robot added 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. labels Jan 16, 2025
@k8s-ci-robot k8s-ci-robot requested review from hakman and zetaab January 16, 2025 09:48
@aojea
Copy link
Member Author

aojea commented Jan 16, 2025

/assign @hakman @justinsb
/test pull-kops-e2e-cni-kindnet

aojea added 2 commits January 16, 2025 09:58
This reverts commit ecadd7a.

gce.UsesIPAliases(o) is assumed to be called after validating that cloud
provider is GCP, with this commit the if statement applies to all cloud providers.
Change-Id: I655d0cdf245b5ab1610f7a856d9adb1326365090
@aojea
Copy link
Member Author

aojea commented Jan 16, 2025

/test pull-kops-e2e-gce-cni-kindnet
/test pull-kops-e2e-cni-kindnet

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

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 /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 Jan 16, 2025
@hakman
Copy link
Member

hakman commented Jan 16, 2025

/override pull-kops-e2e-gce-cni-kindnet

@k8s-ci-robot
Copy link
Contributor

@hakman: Overrode contexts on behalf of hakman: pull-kops-e2e-gce-cni-kindnet

In response to this:

/override pull-kops-e2e-gce-cni-kindnet

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.

@k8s-ci-robot k8s-ci-robot merged commit 8b292cb into kubernetes:master Jan 16, 2025
26 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.32 milestone Jan 16, 2025
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

4 participants