Project

General

Profile

Actions

Kubernetes IPv6

Installing kubernetes

https://kubernetes.io/docs/setup/independent/install-kubeadm/
https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-repository

##kubernetes
apt-get update && apt-get install -y apt-transport-https curl &&
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - &&
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update
apt-get install -y kubelet kubeadm kubectl kubernetes-cni &&
##docker
sudo apt-get update &&
sudo apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common 
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - 
#sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable" 
sudo apt-get update
apt -y install docker-ce=18.06.1~ce~3-0~debian
sudo docker run hello-world

Installing Calico

https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/calico
https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/app-layer-policy

Hints

Docker Version < 18.08 supported (not 18.09!!)
We currently using 18.06

ressources

https://opsnotice.xyz/kubernetes-ipv6-only/

Updated by Andreas Gsponer almost 3 years ago · 12 revisions