-
Notifications
You must be signed in to change notification settings - Fork 471
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
Proposal for networkpolicy for multus interface (i.e. net-attach-def) #430
Proposal for networkpolicy for multus interface (i.e. net-attach-def) #430
Conversation
/assign @jwmatthews |
2ecf42f
to
690a07b
Compare
25740f7
to
4341aa4
Compare
|
||
MultiNetworkPolicy CRD has pretty similar schema to Kubernetes NetworkPolicy and its | ||
semantics is same as well as Kubernetes other than target interface. Target interface | ||
is specified annotation, `k8s.v1.cni.cncf.io/policy-for`, as net-attach-def name. |
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.
Why is this an annotation rather than a CRD field?
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.
It is to provide same usability to the users as user uses net-attach-def/Pod for multus interface, as we discussed in networking plumbing working group. In addition, it makes identical between k8s network policy and multi network policy (except for 'kind' and 'apiVersion').
Does it make sense?
ae106b5
to
6871b86
Compare
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.
OK so this is basically just documenting the addition of a feature that has already been almost fully implemented so it doesn't make sense to nitpick the details at this point.
/lgtm
/assign @knobunc |
6871b86
to
14b2fe6
Compare
@danwinship I've added upstream repo info. Could you please double check and give LGTM again? |
/lgtm |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
@s1061123 would love to see a followup PR that fills in some of the missing sections. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: squeed 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 |
No description provided.