-
Notifications
You must be signed in to change notification settings - Fork 431
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
Support bring your own Azure Network Interface #3255
Comments
/assign |
/milestone next |
@Jont828: You must be a member of the kubernetes-sigs/cluster-api-provider-azure-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Cluster API Provider Azure Maintainers and have them propose you as an additional delegate for this responsibility. In 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/test-infra repository. |
/milestone next |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In 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. |
/kind feature
Describe the solution you'd like
Add support for "bring your own" Azure Network Interface. In order to support applications that require IP addresses that never change, even across machine deletion/recreation, we would like to add support to create network interfaces outside of CAPZ and reference them for use by AzureMachines/AzureMachineTemplates. This way a stable network interface could be detached from one VM when it is deleted, and attached to the replacement VM when it is created.
I propose that we add the following fields to the
NetworkInterface
struct:The controller would implement logic similar to the "bring your own" Virtual Network implementation. The name and resource group are optional fields, and if specified would be used to check for an existing network interface.
If the network interface exists in Azure, the controller would check for the CAPZ ownership tag, and if it is not present, it would not manage the resource, but would only use it for attachment to a virtual machine, and adding to load balancer backend pools as necessary.
If the network interface exists in Azure, and the CAPZ ownership tag is present, CAPZ would manage the lifecycle of network interface.
If the network interface specified in the optional fields does not exist in Azure, then it would be created as it is today, but with the user-specified network interface name and resource group, then attached to the virtual machine.
Anything else you would like to add:
Currently, the
NetworkInterface
type is also used within the AzureMachinePool spec, but this feature is not applicable there. It is not possible in the Azure VMSS API to create a VMSS with a network profile that specifies a specific network interface. The AzureMachinePool resource would be changed to use its own VMSSNetworkInterface type that does not contain these new fields.The text was updated successfully, but these errors were encountered: