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

feat: update CRDs to accomodate multiple pod nics #2717

Merged
merged 3 commits into from
May 3, 2024

Conversation

thatmattlong
Copy link
Contributor

Reason for Change:
Updates the multitenancy CRD schemas to support multiple Pod NICs

Requirements:

Notes:

@thatmattlong
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thatmattlong
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thatmattlong
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thatmattlong
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thatmattlong thatmattlong added this pull request to the merge queue May 2, 2024
Merged via the queue into Azure:master with commit 4073c74 May 3, 2024
12 checks passed
@thatmattlong thatmattlong deleted the matlong/mt-crd-updates branch May 3, 2024 01:50
GatewayIP string `json:"gatewayIP,omitempty"`
// InterfaceInfos describes all of the network container goal state for this Pod
// +kubebuilder:validation:Optional
InterfaceInfos []InterfaceInfo `json:"interfaceInfos,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be populated then ignore higher fields in mtpncStatus

// MultitenantPodNetworkConfigStatus defines the observed state of PodNetworkConfig
type MultitenantPodNetworkConfigStatus struct {
// network container id
// Deprecated - use InterfaceInfos
// +kubebuilder:validation:Optional
NCID string `json:"ncID,omitempty"`
Copy link
Contributor

@kmurudi kmurudi May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these will be populated only for delegatedVMNIC (vnet nic & non-accelnet) if len(InterfaceInfos[]) is empty then only read

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants