Skip to content

Instantly share code, notes, and snippets.

@jklare
jklare / create-vTEP.sh
Last active September 9, 2019 13:18
Install an all-in-one Kubernetes with kubeadm on ubuntu and use multus-cni to create a multi-homed pod
#!/bin/bash
set -ex
IF_to_switch_VTEP=net1
VTEP=vxlan4090
bridge=swbridge
veth_a=eth40
veth_b=eth50
MAC_of_switch_VTEP=b6:14:ca:80:35:fa
IP_of_switch_VTEP=172.16.248.4