Created
August 11, 2020 13:54
-
-
Save CristaLCorp/6c4d77a06e401d49256f434eff4dbc8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 - networking | |
/etc/network/interfaces | |
auto vmbr3 | |
iface vmbr3 inet static | |
address 10.20.30.1 | |
netmask 255.255.255.0 | |
bridge_ports none | |
bridge_stp off | |
bridge_fd 0 | |
# that should go at some point, we don't want the vm to have direct access to the internet | |
post-up iptables -t nat -A POSTROUTING -s '10.20.30.0/24' -o eth0 -j MASQUERADE | |
post-down iptables -t nat -D POSTROUTING -s '10.20.30.0/24' -o eth0 -j MASQUERADE | |
/etc/sysctl.conf | |
network forward ? comes with the temporary NAT options | |
icmp ? | |
2 - the VMs | |
ansible roles | |
solve port 8080 issue | |
mkdir ~/.kube | |
cp /etc/kubernetes/admin.conf ~/.kube/config | |
solve kubeproxy starting master not ready | |
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml | |
kubectl delete clusterrole flannel -n kube-system | |
kubectl delete clusterrolebinding flannel-n kube-system | |
kubectl delete clusterrolebinding flannel -n kube-system | |
kubectl delete serviceaccount flannel -n kube-system | |
kubectl delete configmap kube-flannel-cfg -n kube-system | |
kubectl delete daemonset.extensions kube-flannel-ds -n kube-system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment