cluster-api-provider-vsphere icon indicating copy to clipboard operation
cluster-api-provider-vsphere copied to clipboard

Predefined Mac-Adresses for MachineDeployments

Open MaxRink opened this issue 5 years ago • 5 comments
trafficstars

/kind feature

Describe the solution you'd like In some of our environments we need predefined Mac-Adresses for DHCP to work. For the controlplane this currently works fine, as i can just populate the MacAddr-Filed in the VSphereMachine with the "correct" Mac. However, for MachineDeployments and VSphereMachineTemplates this currently doesnt work, as i cant preselect a mac there. Thus i would propose a feature where i can add a predefined Range of Mac-Adresses that get used by CAPV when creating the actual Machines from the VSphereMachineTemplate.

MaxRink avatar Mar 04 '20 13:03 MaxRink

Unfortunately, the currently described approach will not work for control plane Machines with the KubeadmControlPlane introduced in v1alpha3, it will behave a bit more like MachineDeployments in that a template is used for stamping out the Machines that comprise the control plane.

detiber avatar Mar 04 '20 14:03 detiber

@detiber - we might want some sort of IPAM when you want to use a pre-defined subnet for machines

yastij avatar Mar 04 '20 19:03 yastij

@detiber - we might want some sort of IPAM when you want to use a pre-defined subnet for machines

+1, I think IPAM is probably a better approach here, since it is likely to work in a wider range of environments

detiber avatar Mar 04 '20 20:03 detiber

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar Jul 15 '20 18:07 fejta-bot

#728 is a feature request for an out-of-band static IP mechanism, and it's being implemented in #957. This is external IPAM integration, but not specifically MAC addresses. Would that work for you @MaxRink (you'd have to find/implement an IPAM controller)?

ncdc avatar Jul 20 '20 14:07 ncdc

/close

I think this is obsoleted by the IPAM provider.

@MaxRink , reopen if you think you still need this.

randomvariable avatar Aug 03 '23 17:08 randomvariable

@randomvariable: Closing this issue.

In response to this:

/close

I think this is obsoleted by the IPAM provider.

@MaxRink , reopen if you think you still need 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.

k8s-ci-robot avatar Aug 03 '23 17:08 k8s-ci-robot