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

Use K8s NodeIPAM Controller to allocate subnets for Nodes #1342

Closed
wants to merge 1 commit into from

Conversation

jianjuns
Copy link
Contributor

@jianjuns jianjuns commented Oct 5, 2020

This an experiment to use K8s NodeIPAMController for allocating subnets for Nodes, for the case NodeIPAM is not enabled for K8s ControllerManager.
With NodeIPAMController linked into antrea-controller, its binary size increases from ~60MB to ~90MB.
As K8s NodeIPAMController is not assumed to be a public package, we need some hacks to resolve its dependencies and go.mod.

Probably running NodeIPAMController in a separate process/container is a better way.

@antrea-bot
Copy link
Collaborator

Thanks for your PR.
Unit tests and code linters are run automatically every time the PR is updated.
E2e, conformance and network policy tests can only be triggered by a member of the vmware-tanzu organization. Regular contributors to the project should join the org.

The following commands are available:

  • /test-e2e: to trigger e2e tests.
  • /skip-e2e: to skip e2e tests.
  • /test-conformance: to trigger conformance tests.
  • /skip-conformance: to skip conformance tests.
  • /test-whole-conformance: to trigger all conformance tests on linux.
  • /skip-whole-conformance: to skip all conformance tests on linux.
  • /test-networkpolicy: to trigger networkpolicy tests.
  • /skip-networkpolicy: to skip networkpolicy tests.
  • /test-windows-conformance: to trigger windows conformance tests.
  • /skip-windows-conformance: to skip windows conformance tests.
  • /test-windows-networkpolicy: to trigger windows networkpolicy tests.
  • /skip-windows-networkpolicy: to skip windows networkpolicy tests.
  • /test-hw-offload: to trigger ovs hardware offload test.
  • /skip-hw-offload: to skip ovs hardware offload test.
  • /test-all: to trigger all tests (except whole conformance).
  • /skip-all: to skip all tests (except whole conformance).

Base automatically changed from master to main January 26, 2021 00:00
@jianjuns jianjuns closed this Mar 3, 2021
@jianjuns jianjuns deleted the nodeipam branch March 3, 2021 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants