Commit Graph

737 Commits

Author SHA1 Message Date
Khue Doan
13abf4a5a1 Merge branch 'move-all-charts-to-argocd' 2021-05-21 18:12:51 +07:00
Khue Doan
d9865f6da6 Move all apps to ArgoCD 2021-05-21 18:11:33 +07:00
Khue Doan
12b405cfa0 Change infra make targets 2021-05-21 11:21:14 +07:00
Khue Doan
2c6c2149cb Remove LXD 2021-05-21 02:54:48 +07:00
Khue Doan
c20166a69d Make sure the machines are shut down 2021-05-19 22:27:48 +07:00
Khue Doan
b391ee5be3 Fix VM secure boot 2021-05-17 02:20:01 +07:00
Khue Doan
c6736e8bde Add missing root device for VPN server 2021-05-17 02:19:37 +07:00
Khue Doan
30ab309a22 Change tfstate IP 2021-05-17 01:49:07 +07:00
Khue Doan
613a72ea65 Set subuid/subgid before starting LXD 2021-05-17 01:46:09 +07:00
Khue Doan
15c8bb19f1 Update todo 2021-05-17 01:16:41 +07:00
Khue Doan
d577dfbaab Fix container failed to start
Error: Failed to run: /usr/bin/lxd forkstart tfstate /var/lib/lxd/containers /var/log/lxd/tfstate/lxc.conf
2021-05-17 01:16:07 +07:00
Khue Doan
fd6ab62a12 Add root device for tfstate container
Because default profile was removed
2021-05-17 01:09:38 +07:00
Khue Doan
8287fe696f Install LXD via dnf instead of snap
I hate snap
2021-05-16 23:59:42 +07:00
Khue Doan
ef79644dfa Swith to Fedora for bare metal nodes 2021-05-16 22:57:20 +07:00
Khue Doan
52828a363e Fix cluster member join on LXD 4.14
https://discuss.linuxcontainers.org/t/lxd-4-14-has-been-released/11008
2021-05-16 17:34:22 +07:00
Khue Doan
cdd957f700 Add PXE server logs instruction 2021-05-16 16:39:25 +07:00
Khue Doan
17745bbc20 Fix syntax 2021-05-16 16:05:05 +07:00
Khue Doan
ab885d52fd Add technology stack 2021-05-16 15:58:41 +07:00
Khue Doan
eb659a0ac7 Update milestones 2021-05-16 15:16:11 +07:00
Khue Doan
56dd371fa8 Extract instead of mounting the OS ISO file
Avoid using privileged container or root permission on local machine
2021-05-16 15:10:23 +07:00
Khue Doan
b7dc3379ad Add git attributes 2021-05-16 14:55:08 +07:00
Khue Doan
e355ca8442 Improve tools container package download speed 2021-05-16 14:49:59 +07:00
Khue Doan
83b304f9cd Fix cannot send wake on lan package from tools container 2021-05-16 14:32:01 +07:00
Khue Doan
8a301b9b90 Revert "Quiet docker build"
This reverts commit 3f031e7c32.
2021-05-16 13:32:14 +07:00
Khue Doan
3f031e7c32 Quiet docker build 2021-05-16 13:31:43 +07:00
Khue Doan
aabb7b340c Specify Ansible SSH key without SSH agent
For the tools container
2021-05-16 13:26:32 +07:00
Khue Doan
9fa5b58777 Change default global make targets 2021-05-16 13:20:27 +07:00
Khue Doan
54f4eb570d Use Ansible from package manager instead of pip 2021-05-16 13:14:15 +07:00
Khue Doan
53bd439431 Ensure idempotency for bare metal provisioning 2021-05-16 13:12:41 +07:00
Khue Doan
a5df1d84e9 Add instruction for macOS and Windows controller 2021-05-16 12:59:40 +07:00
Khue Doan
d3c1bb87f6 Add tools README 2021-05-16 00:55:51 +07:00
Khue Doan
3226e9769c Add missing package to tools container 2021-05-15 14:05:43 +07:00
Khue Doan
f2392d6559 Confirm pacman can't use --noconfirm for conflict packages 2021-05-12 06:30:38 +07:00
Khue Doan
9e7f7909fd Add cloudflared tunnel config files and service 2021-05-03 21:52:59 +07:00
Khue Doan
27c048931f Move cloudflared package URL to default var 2021-05-03 13:30:07 +07:00
Khue Doan
94ae26ee90 Install cloudflared 2021-05-03 13:18:34 +07:00
Khue Doan
6935170f54 Fix wrong config symlink 2021-05-03 12:00:09 +07:00
Khue Doan
56de19a303 Add config symlink 2021-05-03 11:55:35 +07:00
Khue Doan
dffe892a2d Fix wrong VPN IP 2021-05-03 11:42:05 +07:00
Khue Doan
b301e4083a Enable VPN server in base 2021-05-03 11:08:02 +07:00
Khue Doan
de977f2560 Add Wireguard client keys 2021-05-03 11:07:40 +07:00
Khue Doan
fb823e30f4 Start Wireguard service 2021-05-03 11:07:19 +07:00
Khue Doan
6ef691eca4 Render wg0 config file with private key and subnet 2021-05-03 10:41:26 +07:00
Khue Doan
26d7fa3e2f Use container for master nodes
For better resource usage, still use VM on worker nodes due to ISCSI
bug in the Linux kernel
2021-05-03 00:28:16 +07:00
Khue Doan
0a1b1cecaa Update 0.0.1-alpha milestone 2021-05-02 23:15:31 +07:00
Khue Doan
d45637056a Move RKE cluster to sperate module, with cleaner Ansible check 2021-05-02 23:07:16 +07:00
Khue Doan
acbc2e5803 Use quote instead of code for warning 2021-05-02 22:26:54 +07:00
Khue Doan
9331b90567 Add warning emoji 2021-05-02 22:26:26 +07:00
Khue Doan
51cefc4ab6 Initial scripts
Brain dump
2021-05-02 22:25:38 +07:00
Khue Doan
d02fc8dd92 Rename 2021-05-02 22:19:28 +07:00