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

add vlan to 'clusterctl generate' #303

Open
lknite opened this issue Oct 18, 2024 · 0 comments
Open

add vlan to 'clusterctl generate' #303

lknite opened this issue Oct 18, 2024 · 0 comments
Labels
enhancement New feature or request kind/feature
Milestone

Comments

@lknite
Copy link

lknite commented Oct 18, 2024

Describe the solution you'd like

vlan works when added to a network configuration in a cluster.yaml to be deployed via cluster-api, however, when creating a cluster using 'clusterctl generate' the 'VLAN' value does not make it into the cluster.yaml file.

Add 'VLAN' as an optional value to ~/.cluster-api/clusterctl.yaml & let it be used when running 'clusterctl generate'.

e.g.:

## -- networking configuration-- ##
CONTROL_PLANE_ENDPOINT_IP: "10.4.0.2"                         # The IP that kube-vip is going to use as a control plane endpoint
NODE_IP_RANGES: "[10.4.0.20-10.4.0.254]"                      # The IP ranges for Cluster nodes
GATEWAY: "10.4.0.1"                                           # The gateway for the machines network-config.
IP_PREFIX: "24"                                               # Subnet Mask in CIDR notation for your node IP ranges
DNS_SERVERS: "[10.0.0.2,10.0.0.3]"                            # The dns nameservers for the machines network-config.
BRIDGE: "vmbr0"                                               # The network bridge device for Proxmox VE VMs
VLAN: 1400                                                    # (Optional) VLAN Tag
@lknite lknite added enhancement New feature or request kind/feature labels Oct 18, 2024
@wikkyk wikkyk added this to the v0.7.0 milestone Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kind/feature
Projects
None yet
Development

No branches or pull requests

2 participants