diff options
author | David Runge <dave@sleepmap.de> | 2020-12-16 21:24:26 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2020-12-16 21:24:26 +0100 |
commit | 0543e3011817211445da32afe1eaa60ded44c673 (patch) | |
tree | 1ff4a268a70f0474a827b28ebbfe1de037138a97 /k8s_cluster/cloud-init | |
download | terraform-0543e3011817211445da32afe1eaa60ded44c673.tar.gz terraform-0543e3011817211445da32afe1eaa60ded44c673.tar.bz2 terraform-0543e3011817211445da32afe1eaa60ded44c673.tar.xz terraform-0543e3011817211445da32afe1eaa60ded44c673.zip |
k8s_cluster/*:
Add a terraform-provider-libvirt based examples to semi-automatically
create a k8s cluster for testing.
Diffstat (limited to 'k8s_cluster/cloud-init')
-rw-r--r-- | k8s_cluster/cloud-init/network_config.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/k8s_cluster/cloud-init/network_config.yaml b/k8s_cluster/cloud-init/network_config.yaml new file mode 100644 index 0000000..0c36cb7 --- /dev/null +++ b/k8s_cluster/cloud-init/network_config.yaml @@ -0,0 +1,33 @@ +--- +version: 2 +ethernets: + controller0: + match: + macaddress: AA:BB:CC:11:11:00 + dhcp4: true + addresses: + - 10.10.66.200/24 + controller1: + match: + macaddress: AA:BB:CC:11:11:01 + dhcp4: true + addresses: + - 10.10.66.201/24 + worker0: + match: + macaddress: AA:BB:CC:11:22:00 + dhcp4: true + addresses: + - 10.10.66.100/24 + worker1: + match: + macaddress: AA:BB:CC:11:22:01 + dhcp4: true + addresses: + - 10.10.66.101/24 + load-balancer0: + match: + macaddress: AA:BB:CC:11:33:00 + dhcp4: true + addresses: + - 10.10.66.50/24 |