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

Make Pod SecondaryNetwork IP visible #7048

Open
luolanzone opened this issue Mar 5, 2025 · 2 comments
Open

Make Pod SecondaryNetwork IP visible #7048

luolanzone opened this issue Mar 5, 2025 · 2 comments
Assignees
Labels
area/secondary-network Issues or PRs related to support for secondary networks in Antrea

Comments

@luolanzone
Copy link
Contributor

luolanzone commented Mar 5, 2025

Since we plan to promote SecondaryNetwork feature to Beta, it would be nice to provide a user-friendly way to let users to know what's the IP assigned to the secondary interface. We probably can add an annotation to the Pod and update the assigned IP to it when the Pod is created with secondary network interface successfully.

Not sure if we already report the assignment success or failure status to a Pod. if not, we may do another improvement to show the secondary IP assignment status in Pod's status?

@luolanzone
Copy link
Contributor Author

cc @tnqn @antoninbas @jianjuns

@tnqn
Copy link
Member

tnqn commented Mar 5, 2025

We should use k8s.v1.cni.cncf.io/network-status annotation to report the secondary network status, following https://github.com/k8snetworkplumbingwg/multus-cni/blob/4a0b5073afa53b57eb910896e72891d6857c199b/docs/quickstart.md?plain=1#L197, since we already follow it to define the secondary network spec via k8s.v1.cni.cncf.io/networks

@tnqn tnqn added this to the Antrea v2.4 release milestone Mar 5, 2025
@tnqn tnqn added the area/secondary-network Issues or PRs related to support for secondary networks in Antrea label Mar 5, 2025
@luolanzone luolanzone changed the title Make Pod SecondaryNetwork IP visable Make Pod SecondaryNetwork IP visible Mar 12, 2025
@wenqiq wenqiq self-assigned this Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/secondary-network Issues or PRs related to support for secondary networks in Antrea
Projects
None yet
Development

No branches or pull requests

3 participants