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

label node with host subnet zone name to specify specific subnet range #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cathy-zhou
Copy link

To specify specic subnet range for a specific node, first in the
ovn-config configmap, define multiple subnet cidrs in net_cidr with the
format of ,@zone=...; then label the node that that
needs specific subnet range with k8s.ovn.org/subnet_allocator_name=
label.

Signed-off-by: Yun Zhou [email protected]

@cathy-zhou cathy-zhou force-pushed the github_multi_netcidr branch 2 times, most recently from 43197e8 to 8939ffb Compare April 20, 2020 23:28
@coveralls
Copy link

coveralls commented May 5, 2020

Pull Request Test Coverage Report for Build 102843016

  • 107 of 144 (74.31%) changed or added relevant lines in 5 files are covered.
  • 47 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-1.03%) to 49.772%

Changes Missing Coverage Covered Lines Changed/Added Lines %
go-controller/pkg/config/utils.go 20 25 80.0%
go-controller/pkg/ovn/ovn.go 25 30 83.33%
go-controller/pkg/ovn/master.go 46 73 63.01%
Files with Coverage Reduction New Missed Lines %
go-controller/pkg/ovn/policy.go 10 66.7%
go-controller/pkg/ovn/master.go 37 49.75%
Totals Coverage Status
Change from base Build 97614314: -1.03%
Covered Lines: 3929
Relevant Lines: 7894

💛 - Coveralls

…range

To specify specic subnet range for a specific node, first in the
ovn-config configmap, define multiple subnet cidrs in net_cidr with the
format of <cidr1>,<cidr2>@<selector_name>...; then label the node that that
needs specific subnet range with label
k8s.ovn.org/subnet_selector_name=<selector_name>.

Signed-off-by: Yun Zhou <[email protected]>
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.

2 participants