Task #8447

Updated by Nico Schottelius 11 months ago

h2. Setup

* -Create 3 Alpine nodes upgraded to edge, set hostnames-
** -Resize to at least 2 cores per node-
* -Reserve networks-
** 2a0a:e5c0:2:12::/64 = pods
** 2a0a:e5c0:2:13::/64 = service
* -Configure routers to accept BGP session (done: in cdist)-
* Deploy kubernetes on first node
* Verify BGP peering

h2. OS commands


alpine:~# echo node2 > /etc/hostname
echo "search" >> /etc/resolv.conf

alpine:~# cat > /etc/apk/repositories << EOF

alpine:~# apk upgrade
node1:~# apk add kubeadm kubelet docker
rc-update add kubelet default
rc-update add docker default

echo 'net.ipv6.conf.default.forwarding=1' > /etc/sysctl.d/k8s.conf

h2. Take aways cluster config

* docker sets ipv4 forwarding, but not ipv6 (needs manual sysctl entry)
* Reachability by name (node1) w/o fqdn seems to be important