Commit Graph

44 Commits

Author SHA1 Message Date
Karim Naufal
b02970cb5e fix k3s-selinux filecon error 2022-03-19 21:59:39 +01:00
Cliffred van Velzen
84ae583ff5 #128 replace deprecated template provider with cloudinit 2022-03-13 15:06:48 +01:00
Karim Naufal
5590ecfc98 tweaked keepers for random string 2022-03-12 09:42:36 +01:00
Karim Naufal
46ab602da3 kept only name and ip as keepers for the random_string ressource for the servers 2022-03-09 20:57:52 +01:00
Karim Naufal
c7ee0bce91 Merge branch 'master' into keepers-tweak 2022-03-09 09:34:48 +01:00
Karim Naufal
863fa15207 small fix 2022-03-09 05:50:12 +01:00
Karim Naufal
af592adb9b moved to random string for the node name 2022-03-09 05:42:56 +01:00
Karim Naufal
348bcc3008 removed a few params from server keepers 2022-03-09 04:16:01 +01:00
Karim Naufal
56fc95763a commented out some un-needed keepers in random_pet.servers 2022-03-08 08:27:48 +01:00
phaer
d08a350362 move random_pet to host module 2022-03-05 15:25:43 +01:00
phaer
3337a6a4f5 remove unecessary hcloud_token var in host module 2022-03-05 14:52:00 +01:00
Karim Naufal
9f7c1fc811 fixed snapper config not holding 2022-03-04 16:08:05 +01:00
Karim Naufal
fecd312cdd userdata tweaks 2022-03-04 15:46:15 +01:00
Karim Naufal
c14d85300e switch back to the standard kured reboot method 2022-03-04 13:46:52 +01:00
Karim Naufal
d54a50d544 added cloudflare dns first 2022-03-04 13:46:01 +01:00
Karim Naufal
5a3b8afd28 bounded the logs size and age 2022-03-03 19:25:58 +01:00
Karim Naufal
52bb5f663f removed explicit reboot method flag 2022-03-03 03:02:24 +01:00
Karim Naufal
f6fe3c2484 returned to the normal openstack image 2022-03-03 02:47:14 +01:00
Karim Naufal
a0d3cb2ffd fixed k3s selinux 2022-03-03 01:56:04 +01:00
Karim Naufal
117daeb9c3 tweaked userdata and tfvars.example 2022-03-03 01:28:51 +01:00
Karim Naufal
fa635583de tweaked userdata 2022-03-02 22:23:36 +01:00
Karim Naufal
c5c8004928 tweaked userdata 2022-03-02 22:19:58 +01:00
phaer
52adcd3f40 resize /var, not /...
because cloud-inits growpart can only resize the last partition
2022-03-02 14:30:19 +01:00
Karim Naufal
e2ca54c6fe delegated back the k3s selinux RPM to the install script with subsequent reboot 2022-03-02 02:06:31 +01:00
Karim Naufal
c321dbb7cc added new lines at the end of cloud init templates 2022-03-01 22:13:41 +01:00
Karim Naufal
e5404b6adc proper application of selinux 2022-03-01 21:57:57 +01:00
Karim Naufal
ecbd79743e trying the reboot-sentinel route 2022-02-28 18:45:27 +01:00
Karim Naufal
a6bd1a6a48 trying the reboot-sentinel route 2022-02-28 17:57:28 +01:00
Marco Nenciarini
dbc6dbf0aa
Switch to cloud-init for host initialization 2022-02-28 16:07:42 +01:00
Marco Nenciarini
830ca14118
Revert "Switch to cloud-init for host initialization"
This reverts commit 5f7d47783b.
This reverts commit 33c62d0c42.
2022-02-28 16:04:03 +01:00
Karim Naufal
33c62d0c42 tweaked cloud-init 2022-02-28 15:35:09 +01:00
Marco Nenciarini
5f7d47783b
Switch to cloud-init for host initialization 2022-02-28 10:30:49 +01:00
phaer
38fc145ad0 ip -> ipv4...
...explictly label current ip values as ipv4, in order to more
easily add ipv6 support later on.
2022-02-26 12:26:14 +01:00
jodhi
ec42a2b519 merge from upstream 2022-02-26 01:18:34 +07:00
jodhi
c9101824fc add specific subnet for nodepool 2022-02-26 01:16:38 +07:00
Karim Naufal
46dd37383c network fix attempt 2022-02-25 15:30:39 +01:00
Karim Naufal
f0fb1adc6d small fix 2022-02-25 01:51:01 +01:00
jodhi
b5039e2bc1 fix dynamic private ip 2022-02-24 23:57:36 +07:00
jodhi
58c630ba78 not hardcode the ip allocation for agents 2022-02-24 22:49:36 +07:00
Karim Naufal
6739b4a493 added null ressouce to destroy lb 2022-02-24 01:44:56 +01:00
Marco Nenciarini
0c3aa36c03
First control plane node is not special anymore
The first control plane node is now identical to any other server
node. The cluster initialization happens once in two steps: first,
make sure that the k3s cluster is initialized and then apply our
configurations while the other nodes join. This change makes the
initialization more resilient and even faster than before.
2022-02-22 13:36:25 +01:00
Karim Naufal
5533611033 fixed hostname and readme 2022-02-22 04:11:24 +01:00
Marco Nenciarini
0f9d277293
Merge branch 'master' into modules 2022-02-20 11:30:07 +01:00
Marco Nenciarini
0090c1a6f1
Fist attempt to factor microOS install 2022-02-20 00:00:13 +01:00