Kubernetes IPv6 » History » Version 4
Andreas Gsponer, 11/30/2018 08:52 PM
1 | 1 | Dominique Roux | h1. Kubernetes IPv6 |
---|---|---|---|
2 | |||
3 | h2. ressources |
||
4 | |||
5 | https://opsnotice.xyz/kubernetes-ipv6-only/ |
||
6 | 2 | Andreas Gsponer | |
7 | h2. Installing kubernetes |
||
8 | |||
9 | https://kubernetes.io/docs/setup/independent/install-kubeadm/ |
||
10 | 3 | Andreas Gsponer | https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-repository |
11 | 4 | Andreas Gsponer | |
12 | [pre] |
||
13 | ##kubernetes |
||
14 | apt-get update && apt-get install -y apt-transport-https curl && |
||
15 | curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && |
||
16 | cat <<EOF >/etc/apt/sources.list.d/kubernetes.list |
||
17 | deb https://apt.kubernetes.io/ kubernetes-xenial main |
||
18 | EOF |
||
19 | apt-get update |
||
20 | apt-get install -y kubelet kubeadm kubectl kubernetes-cni && |
||
21 | ##docker |
||
22 | sudo apt-get update && |
||
23 | sudo apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common |
||
24 | curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - |
||
25 | #sudo apt-key fingerprint 0EBFCD88 |
||
26 | sudo add-apt-repository \ |
||
27 | "deb [arch=amd64] https://download.docker.com/linux/debian \ |
||
28 | $(lsb_release -cs) \ |
||
29 | stable" |
||
30 | sudo apt-get update |
||
31 | sudo apt-get -y install docker-ce |
||
32 | sudo docker run hello-world |
||
33 | [\pre] |