Hi All,
It’s all in the title, is there a way to expand a cluster and properly set any existing managed network (with running instances, so reset is not an option) ?
Edited:
Found, using the preseed member_config key
example, a network “front” using vlan tag 102:
incus network create --target incus1 --type=physical front parent=bond0
incus network create --target incus2 --type=physical front parent=bond0
incus network create --target incus3 --type=physical front parent=bond0
incus network create front vlan=102 --type=physical
Adding member incus4 to the cluster :
cat preseed.yml | incus admin init --preseed
preseed.yml:
cluster:
enabled: true
cluster_address: "{{ ipaddress }}"
cluster_token: "{{ cluster_token }}"
server_address: "{{ ipaddress }}"
member_config:
... (storage-pool config)
- entity: network
name: front
key: parent
value: bond0
- entity: network
name: front
key: type
value: physical