Commit Graph

281 Commits

Author SHA1 Message Date
Khue Doan
5ce78a6cbd Remove tools role 2021-03-01 01:14:06 +07:00
Khue Doan
5ef7086cac Ask for username and password when provision metal nodes 2021-03-01 00:55:41 +07:00
Khue Doan
f2f7599a02 Disable host key checking 2021-03-01 00:44:11 +07:00
Khue Doan
64f5a5684e Fix pxe server 2021-02-28 23:56:11 +07:00
Khue Doan
cdf6e4041e Fix wrong role name 2021-02-28 20:59:26 +07:00
Khue Doan
8381ff4223 Add acknowledgements 2021-02-23 21:38:41 +07:00
Khue Doan
87934e8893 Add env secret template 2021-02-22 00:27:33 +07:00
Khue Doan
468aad25db Add minio for tfstate 2021-02-22 00:25:06 +07:00
Khue Doan
2f0bad6533 Temporarily disable remote state 2021-02-22 00:19:24 +07:00
Khue Doan
ba63b1a255 Restructure infra 2021-02-21 22:45:02 +07:00
Khue Doan
6b60373ac4 Add role to generate LXD client config 2021-02-21 22:28:06 +07:00
Khue Doan
5bd503dbce Remove role to install snap
Because we switched to Ubuntu and Ubuntu has snap installed by default
2021-02-21 21:03:32 +07:00
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