Initialize glados
Raspberry Pi 4 8GB (aarch64)
Ubuntu Jammy
Kubernetes 1.26
containerd 1.6.14
OS
Raspberry Pi Imagerで焼く
Ubuntu LTS Server の1番新しいやつ
Kubernetes
kubeadm / kubelet / kubectl はよしなにいれる
Cilium向けに入れる
code:cni.sh
sudo apt install linux-modules-extra-raspi
reboot
code:k8s.sh
cat <<EOF > /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward=1
net.ipv4.conf.default.rp_filter=0
EOF
sysctl --system
code:docker.sh
apt install -y containerd.io
kubeadm
やるだけ
code:kubeadm.sh
kubeadm init --control-plane-endpoint "xxx:6443" --cri-socket=unix:///var/run/containerd/containerd.sock --upload-certs
CNI: Cilium
code:cni.sh
helm install cilium cilium/cilium --version 1.12.5 --namespace kube-system