Commit Graph

365 Commits

Author SHA1 Message Date
Khue Doan
ad5e8cef86 Use VM instead of container for Kubernetes node
Squashed commit of the following:

commit 421e849664810ae41e493049edcc1ac2846ca6fc
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Apr 26 22:09:35 2021 +0700

    Move k8s nodes to LXD virtual machines instead of containers

    Avoid kernel issue and improve security (not using privileged containers)

commit 0ce297d0aee30e2253cd69c4ac93f21cf637f25a
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Apr 26 21:25:11 2021 +0700

    Adjust priority
2021-04-26 22:24:11 +07:00
Khue Doan
74015da237 Increase LXD storage size 2021-04-26 01:21:22 +07:00
Khue Doan
f84fc1ae4e Set default username 2021-04-26 01:21:01 +07:00
Khue Doan
b3f2d0dec3 Rework global makefile 2021-04-25 13:24:26 +07:00
Khue Doan
58043b8b1c Add apps makefile 2021-04-25 12:30:33 +07:00
Khue Doan
afb3fb966a Move gitea from terrafrom to argo 2021-04-25 01:40:58 +07:00
Khue Doan
2eb9b87f56 Update todo 2021-04-25 00:55:34 +07:00
Khue Doan
96a9c8edb3 Configure etcd using env file 2021-04-25 00:55:04 +07:00
Khue Doan
c16d1a5a22 Use native lxd connection instead of lxd exec 2021-04-25 00:30:52 +07:00
Khue Doan
eaba343a5d Increase node disk size to 32GiB 2021-04-24 22:58:22 +07:00
Khue Doan
36e7d5e9ef Add ugly fix for ansible LXD connection 2021-04-24 19:07:41 +07:00
Khue Doan
4a45188358 Move tfstate back to etcd 2021-04-24 18:04:26 +07:00
Khue Doan
a69acb8134 Terraform state etcd in LXD instead of Docker 2021-04-24 18:02:19 +07:00
Khue Doan
0bbb87169f Remove minio tfstate 2021-04-24 14:35:50 +07:00
Khue Doan
4898d18202 Fix wrong tfvars path after restructure 2021-04-24 14:22:36 +07:00
Khue Doan
51a5468855 Restructure 2021-04-24 13:45:13 +07:00
Khue Doan
74d5a08a3b Fix infra makefile 2021-04-24 13:40:16 +07:00
Khue Doan
3a8dcde9aa Clean up 2021-04-22 01:31:37 +07:00
Khue Doan
afe59da31e Remove legacy bare metal cluster 2021-04-22 01:30:13 +07:00
Khue Doan
efa23b0fee Add argocd back to bootstrap 2021-04-22 01:25:16 +07:00
Khue Doan
ddf881e2ea Upgrade cert manager and longhorn version 2021-04-22 01:05:10 +07:00
Khue Doan
6007d454ba Update docs 2021-04-22 00:21:14 +07:00
Khue Doan
9576bb3fa2 Upgrade metallb, nginx and prometheus version 2021-04-22 00:16:23 +07:00
Khue Doan
93ee9e025e Add cluster bootstrap 2021-04-22 00:12:14 +07:00
Khue Doan
7cb4264c1a Update todo 2021-04-21 23:38:32 +07:00
Khue Doan
ad8204cb3d Update todo 2021-04-21 23:37:59 +07:00
Khue Doan
613fb33959 Generate LXD tfvars instead of environment variable 2021-04-21 23:29:18 +07:00
Khue Doan
147dfd57ef Wait for docker socket instead of just wait for 5 minutes
Make sure docker is actually available and will not fail if it takes
longer than 5 minutes to install docker
2021-04-21 23:01:55 +07:00
Khue Doan
8d6c1b6889 Add checksum to metal ISO installer file
Avoid redownload the ISO and check the ISO integrity
2021-04-21 21:30:23 +07:00
Khue Doan
bc28aef29d Use Arch instead of Alpine for tools container 2021-04-21 14:50:34 +07:00
Khue Doan
7b3c2e256e Update todo list 2021-04-20 19:37:38 +07:00
Khue Doan
bccec48529 Move core services to new module 2021-04-20 19:24:23 +07:00
Khue Doan
5b8f968261 Rename some modules 2021-04-20 19:12:07 +07:00
Khue Doan
1b9a434833 Initial modules structure 2021-04-20 19:00:57 +07:00
Khue Doan
0789c9b3e4 Generate SSH key for RKE nodes automatically
Instead of using the same one with bare-metal nodes
2021-04-20 18:46:01 +07:00
Khue Doan
79b5e0ecf4 Fix command line arguments not being used 2021-04-20 18:34:13 +07:00
Khue Doan
0d9cf4ee86 Revert "Remove legacy bare metal cluster"
This reverts commit 06a9936510.
2021-04-20 17:56:03 +07:00
Khue Doan
db0faf5ddc Move milestones and changelog to seperate files 2021-04-20 17:47:27 +07:00
Khue Doan
30998d1d15 Remove unused tools 2021-04-20 17:30:31 +07:00
Khue Doan
62ffa5d9b1 Add tools container back, but better 2021-04-20 09:41:06 +07:00
Khue Doan
400288a786 Update title for each layer 2021-04-20 01:55:09 +07:00
Khue Doan
cddbd83d33 Update roadmap 2021-04-20 01:40:33 +07:00
Khue Doan
68c7edcd37 Add some trouble shooting docs 2021-04-20 01:14:11 +07:00
Khue Doan
8225cd97ce Put link to files in TODO list 2021-04-19 23:15:14 +07:00
Khue Doan
e3496fef1f Exclude docs/ when generate TODO list 2021-04-19 22:49:21 +07:00
Khue Doan
5772849767 Add more TODO 2021-04-19 22:39:51 +07:00
Khue Doan
1b0a3c74fe Auto generate TODO list 2021-04-19 22:35:05 +07:00
Khue Doan
b7aabba637 Add roadmap 2021-04-19 21:41:25 +07:00
Khue Doan
d1b8b309d5 Fix incorrect IP after first apply 2021-04-19 02:02:48 +07:00
Khue Doan
bc36a09477 Fix incorrect init path 2021-04-19 01:54:11 +07:00