Skip to content

Commit 72f5669

Browse files
Update and rename LXD Config to LXD MAAS
1 parent 162be25 commit 72f5669

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

LXD Config LXD MAAS

+26
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
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+
127
config:
228
boot.autostart: "true"
329
limits.cpu: "4"

0 commit comments

Comments
 (0)