File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # kubernetes rancher deployment
2
+
3
+ These are my personal instructions for getting a Juju deployment of Charmed Kubernetes up and running, managed by Rancher 2.x.
4
+
5
+ ## Get MAAS working.
6
+ Instructions here.
7
+
8
+ ## Get Controller Prepared
9
+ 1. Fresh instance of Ubuntu 18.04
10
+ 2. Run ssh-keygen \ cat .ssh/id_rsa.pub
11
+ 3. Import ssh key into MAAS
12
+
13
+ ## Get nodes prepared
14
+ 1. Check to make sure storage is setup properly (RAID in MAAS)
15
+ 2. Create bridges on all nodes using static IP addresses (192.168.1.10, 192.168.1.11) and turn on STP / 0s Delay
16
+ 3. Deploy machines
17
+ 4. Run: sudo swapoff -a
18
+ 5. Run: curl https://releases.rancher.com/install-docker/18.09.2.sh | sh
19
+ 6.
20
+
21
+ ### Modify Juju Constraints Manually:
22
+ * juju bootstrap --constraints "mem=3.5G cores=2 root-disk=16G" [controller_name_here]
23
+ * juju config kubernetes-worker allow-privileged=true
24
+ * juju config kubernetes-master allow-privileged=true
25
+
26
+
1
27
config:
2
28
boot.autostart: "true"
3
29
limits.cpu: "4"
You can’t perform that action at this time.
0 commit comments