Commit Graph

269 Commits

Author SHA1 Message Date
Khue Doan
b7b5ce1fd3 Force LXD fan network underlay subnet instead of auto 2021-02-21 21:01:35 +07:00
Khue Doan
f191d5a2e2 Switch to Ubuntu from Debian
Because of LXD fan networking issue

Can ping containers in different node
2021-02-21 20:58:06 +07:00
Khue Doan
a00cd2b288 Add snapshot and restore 2021-02-21 20:19:00 +07:00
Khue Doan
5e0036defd Remove etcd role 2021-02-21 18:19:11 +07:00
Khue Doan
2cd7cf20e3 Remove all ansible role tags 2021-02-21 18:18:57 +07:00
Khue Doan
783306ac98 Add role to install admin tools 2021-02-21 18:18:10 +07:00
Khue Doan
20fe827422 Remove reset target
Avoid accidentally delete everything
2021-02-21 17:44:21 +07:00
Khue Doan
e30db11617 Fix LXD init idempotency
Reference: 0990628edb
2021-02-21 14:17:49 +07:00
Khue Doan
28c87707cd Join member LXD nodes to the cluster 2021-02-21 14:10:17 +07:00
Khue Doan
b1ad9c0e4f Enable ansible pipelining for test environment 2021-02-21 14:07:03 +07:00
Khue Doan
b57b41c236 Only run leader preseed on the first node 2021-02-21 11:27:12 +07:00
Khue Doan
1b54cc22db Remove etcd role from playbook 2021-02-21 10:57:20 +07:00
Khue Doan
ac442dbe2e Symlink metal roles to test 2021-02-21 10:50:39 +07:00
Khue Doan
80b26e878b Add role to install snap 2021-02-21 10:46:31 +07:00
Khue Doan
83c84d2eb8 Use root for ansible 2021-02-21 10:46:00 +07:00
Khue Doan
a4ad17310e Add reset target 2021-02-21 10:34:06 +07:00
Khue Doan
1fb9666e33 Replace multipass with vagrant 2021-02-21 09:55:26 +07:00
Khue Doan
a84928ec60 Remove hard coded IP 2021-02-20 11:22:54 +07:00
Khue Doan
bdc266cbee Cleaner lxd init preseed task 2021-02-16 18:03:58 +07:00
Khue Doan
f2602aa749 2 test node to form a LXD cluster instead of a single node 2021-02-16 17:55:06 +07:00
Khue Doan
b4fc52b860 LXD role test 2021-02-15 14:33:51 +07:00
Khue Doan
bac214e4dd Add LXD role 2021-02-15 14:33:34 +07:00
Khue Doan
39709cda2b Wrong layer number 2021-02-15 12:10:48 +07:00
Khue Doan
ece52c463c Remove platform layer 2021-02-15 12:10:02 +07:00
Khue Doan
186cecdad3 Change wip color 2021-02-15 11:53:55 +07:00
Khue Doan
19971692aa Fix wip color 2021-02-15 11:49:23 +07:00
Khue Doan
e725dfa9f5 Update main doc 2021-02-15 11:40:35 +07:00
Khue Doan
b3f7db200b Add test playbook 2021-02-15 10:56:51 +07:00
Khue Doan
c349d2c994 Improve test makefile 2021-02-15 02:22:59 +07:00
Khue Doan
5a7ccf88d5 Change storage pool name back to default 2021-02-15 02:20:33 +07:00
Khue Doan
a91869cc85 Use lvm instead of btrfs because of a bug in k8s 2021-02-15 02:11:40 +07:00
Khue Doan
6b337fb94a Change default storage and nic 2021-02-15 01:25:52 +07:00
Khue Doan
a6ae520e89 Clean up multipass cloud init 2021-02-15 01:20:35 +07:00
Khue Doan
35381d12da stay away from snap if you can 2021-02-15 00:33:50 +07:00
Khue Doan
eba194b78e Add test data 2021-02-15 00:10:39 +07:00
Khue Doan
01b9ff8207 Move old baremetal cluster type to legacy 2021-02-14 15:53:05 +07:00
Khue Doan
f25300a712 Add workers 2021-02-14 05:54:11 +00:00
Khue Doan
f87cdb2561 Fix kube-proxy trying to write to nf_conntrack hashsize 2021-02-14 03:48:05 +00:00
Khue Doan
667c0da938 Fix docker shared mount 2021-02-13 18:52:12 +00:00
Khue Doan
d0c7f3714e Install docker instead of k3s 2021-02-13 15:41:31 +00:00
Khue Doan
557a733841 Sperate lxd profile 2021-02-13 14:02:32 +00:00
Khue Doan
69851a9d46 Update lxd rke 2021-02-13 11:54:46 +00:00
Khue Doan
4da172ba4c Update lxd profile 2021-02-13 16:31:30 +07:00
Khue Doan
a4821862c5 Always start etcd tfstate container 2021-02-13 13:28:07 +07:00
Khue Doan
fbe119fd16 Experimental LXD rke cluster 2021-02-13 12:49:59 +07:00
Khue Doan
c73b4b1228 Fix etcd tfstate volume 2021-02-12 22:34:02 +07:00
Khue Doan
6d32436039 Working lxd container 2021-02-12 21:51:19 +07:00
Khue Doan
9348de351f Create LICENSE 2021-02-12 21:29:21 +07:00
Khue Doan
6b6f65893f Working etcd backend for terraform 2021-02-12 21:24:13 +07:00
Khue Doan
59e5624c02 Create etcd container for terraform state 2021-02-12 21:09:21 +07:00