File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
pre-requisites to be done on local ubuntu machine for k8s setup.
2
2
3
+ for Ubuntu 18 LTS
4
+ ====================
3
5
disable swap ( on master & nodes )
4
6
5
7
swapoff -a
6
8
vi /etc/fstab
7
9
comment the swap line putting hash infront of the line
8
10
ex: #UUID=9fb8bc78-f247-4b69-8b4a-44171adeda7b none swap sw 0 0
9
11
12
+ for Ubuntu 16 LTS
13
+ ====================
14
+
15
+ disable swap ( on master & nodes )
16
+
17
+ swapoff -a
18
+ vi /etc/fstab
19
+ comment the swap line putting hash infront of the line
20
+ ex: #UUID=9fb8bc78-f247-4b69-8b4a-44171adeda7b none swap sw 0 0
21
+
10
22
disblae default reslov conf services & install dnsmasq ( only on master )
11
23
12
24
sudo systemctl disable systemd-resolved.service
@@ -22,6 +34,7 @@ set the nameserver ( only on master )
22
34
vi /etc/resolv.conf
23
35
nameserver 8.8.8.8
24
36
=========================================================================================
37
+
25
38
K8s Master Setup Local Ubuntu
26
39
27
40
Install docker
@@ -50,8 +63,7 @@ K8s Master Setup Local Ubuntu
50
63
make note of kubeadm join command to be run on Nodes
51
64
52
65
for coredns pods to come up run below
53
-
54
- kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/bc79dd1505b0c8681ece4de4c0d86c5cd2643275/Documentation/kube-flannel.yml
66
+ kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/2140ac876ef134e0ed5af15c65e414cf26827915/Documentation/kube-flannel.yml
55
67
56
68
========================================================================================
57
69
You can’t perform that action at this time.
0 commit comments