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
Document Hybird Overlay Config #513
Conversation
@dcbw @aravindhp PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @pecameron this is really helpful! I'll give it a shot, in the meantime theres a few spelling changes that could be made
Followed the instructions and it seemed to work:
|
README.md
Outdated
- cidr: 10.132.0.0/14 | ||
hostPrefix: 23 | ||
``` | ||
The hybridClusterNetwork cidr and hostPrefix are used when adding windows nodes. This cidr must not overlap the ClusterNetwork cidr. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pecameron windows -> Windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put the first cidr here in backticks to show it's a literal. Capitalize the second I think because it's a generic reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dcbw Did I get the changes right?
Also, found that we are limited to a single hybridClusterNetwork: cidr.
Question: did we change from config.openshift.io/v1 to operator.openshift.io/v1? If so installer is wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pecameron we shouldn't be limited to a single hybrid overlay CIDR. For the YAML I think it would be:
ovnKubernetesConfig:
hybridOverlayConfig:
hybridClusterNetwork:
- cidr: 10.132.0.0/14
hostPrefix: 23
- cidr: 11.150.0.0/14
hostPrefix: 23
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dcbw The code does 1 CIDR.
pkg/network/ovn_kubernetes.go:82: data.Data["OVNHybridOverlayNetCIDR"] = c.HybridOverlayConfig.HybridClusterNetwork[0].CIDR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pecameron I guess we should fix that in CNO then... @JacobTanenbaum can you take that task?
@dcbw The only change is the README.md file. Test failures are not related to these changes. |
d7e98c9
to
8e6b600
Compare
How to configure a hybrid cluster of Linux an Windows nodes. SDN-842 - Bring up hybrid cluster and document process https://issues.redhat.com/browse/SDN-842 Signed-off-by: Phil Cameron <pcameron@redhat.com>
@dcbw PTAL |
@dcbw @sebsoto @aravindhp PTAL |
/lgtm |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: knobunc, pecameron 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
On 3/6/20 10:45 AM, Dan Williams wrote:
***@***.**** commented on this pull request.
------------------------------------------------------------------------
In README.md
<#513 (comment)>:
> +```
+Edit the new file as follows:
+- change first line `apiVersion: config.openshift.io/v1` to `apiVersion: operator.openshift.io/v1`
+- Add the following to the `spec:` section
+
+```yaml
+spec:
+ defaultNetwork:
+ type: OVNKubernetes
+ ovnKubernetesConfig:
+ hybridOverlayConfig:
+ hybridClusterNetwork:
+ - cidr: 10.132.0.0/14
+ hostPrefix: 23
+```
+The hybridClusterNetwork cidr and hostPrefix are used when adding windows nodes. This cidr must not overlap the ClusterNetwork cidr.
@pecameron <https://github.com/pecameron> I guess we should fix that
in CNO then... @JacobTanenbaum <https://github.com/JacobTanenbaum> can
you take that task?
Actually, shouldn't this be in the configmap rather than the command line?
Does ovnkube support a vector of CIRDs?
… —
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#513?email_source=notifications&email_token=ADKSA6QGTYIY3JPSVQOMLN3RGEK77A5CNFSM4LBSMZFKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCYKC2EQ#discussion_r388978586>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKSA6XQAWFS5IIRHFDY3ZLRGEK77ANCNFSM4LBSMZFA>.
|
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
@pecameron: The following test failed, say
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/test-infra repository. I understand the commands that are listed here. |
How to configure a hybird cluster of Linux an Windows nodes.
https://issues.redhat.com/browse/SDN-842
Signed-off-by: Phil Cameron pcameron@redhat.com