Adds cudn docs#85165
Conversation
|
🤖 Fri Feb 14 13:59:09 - Prow CI generated the docs preview: https://85165--ocpdocs-pr.netlify.app/ |
|
/assign @ormergi |
ormergi
left a comment
There was a problem hiding this comment.
Hi, thanks for adding these docs, please see my comments bellow and in-line ones 🙂
- Regarding best practices
I think we should add text saying theClusterUserDefiendNetworkCRD is targeted for cluster-admins.
And it should not be granted for non-admin users blindly because if used wrongly, it could result in security issues (e.g.: create CR in default namespace, connect multiple namespaces networks).
Or, in with the future Localnet support, cause disruptions or break the cluster network.
In addition, the NamespaceSelector should not point to default or openshifrt-* namespaces, similar to UDN CRD, for the same reasones.
- Regarding NamespaceSelector
Note about theNamespaceSelectorattribute, since its type is the standard k8s MatchLabel selector, it derive the exact behavior:
In casematchExpressionis used, given the following spec:
matchExpressions:
- key: kubernetes.io/metadata.name
operator: In
values: ["red", "blue"]
Result in provisioning namespaces who has kubernetes.io/metadata.name=red OR kubernetes.io/metadata.name=blue labels (i.e.: one of).
In contrast, the matchLabels acts diffrently in the sense the terms are "AND"'ed, for example:
Given the following spec:
matchLables:
- "red":""
- "blue":""
Result in provisioning namespaces who has red="" AND blue="" labels.
Should we add some text for the above or keep it implicit as the current state?
- Regarding other Layer2 & Layer3 optional fields, should we add some text for it ot add reference to the table we have in UserDefienenNetwork doc?
b753f00 to
f02bb1a
Compare
f02bb1a to
3627131
Compare
3627131 to
c58dcfb
Compare
c58dcfb to
b1c5526
Compare
b1c5526 to
38b3af2
Compare
489198b to
6b938fe
Compare
|
/retest |
27262e2 to
5dc6705
Compare
af5af82 to
e7935cf
Compare
a27555b to
d880e72
Compare
9065f7b to
0f9ad3e
Compare
cc05282 to
da4bcd8
Compare
da4bcd8 to
51a5969
Compare
|
@stevsmit: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
/lgtm |
|
/cherry-pick enterprise-4.18 |
|
@stevsmit: new pull request created: #88688 DetailsIn response to this:
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. |
Version(s):
4.18+
Issue:
https://issues.redhat.com/browse/OSDOCS-12699
PR incorporates bug fixes from the following:
Link to docs preview:
https://85165--ocpdocs-pr.netlify.app/openshift-enterprise/latest/networking/multiple_networks/primary_networks/about-user-defined-networks.html
QE review:
Additional information: