Commit Graph

66 Commits

Author SHA1 Message Date
Karim Naufal
4117776994
ip problem solved 2022-04-09 09:51:11 +02:00
Karim Naufal
65297f7ded
initial success for one control plane nodepool 2022-04-09 08:40:36 +02:00
Henk van Maanen
4d6afe7d04 feat(agents): add location, label and taint options to agent-nodepool 2022-04-05 11:27:16 +02:00
Karim Naufal
b7c6bbbe8f merge master into automatic-subnets 2022-03-09 09:38:10 +01:00
Karim Naufal
f20ac7c8d5 changed the cluster name to manual 2022-03-09 05:19:06 +01:00
Karim Naufal
2b7d2722c5 changed the agent_nodepools to be a list 2022-03-09 03:15:15 +01:00
Karim Naufal
a72facdd1a automated the creation of the subnets 2022-03-09 02:07:24 +01:00
Karim Naufal
21104a79c5 Merge branch 'master' into name-suffixes 2022-03-06 01:33:20 +01:00
Karim Naufal
2ae2c0dc41 Fix LB IP collision for good 2022-03-06 01:32:04 +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
e6b8249846 made cluster name prefix configurable and tweaked ways the agents random pets are created
small tweaks

small tweaks
2022-03-05 06:10:50 +01:00
Karim Naufal
ae731a7746 added a flag for the node names 2022-03-05 04:02:09 +01:00
phaer
34eb575223 re-add cluster pet name to nodes 2022-03-05 00:43:43 +01:00
Karim Naufal
385bd788be reduced number of words in names and remove cluster name in node names 2022-03-04 23:41:49 +01:00
phaer
5cf6f9eef4 add random pet names for cluster & nodes 2022-03-04 22:04:07 +01:00
Karim Naufal
c92868c054 fixed TLS handshake error on agents 2022-03-03 19:08:12 +01:00
Karim Naufal
a0d3cb2ffd fixed k3s selinux 2022-03-03 01:56:04 +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
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
c9101824fc add specific subnet for nodepool 2022-02-26 01:16:38 +07:00
jodhi
58c630ba78 not hardcode the ip allocation for agents 2022-02-24 22:49:36 +07:00
jodhi
7d301f2c6d [WIP] nodepools feature 2022-02-23 22:46:46 +07:00
Tim Heckel
5e40bcb5f2
Update agents.tf
Ensuring the right agent server type is attaching
2022-02-21 20:00:06 -06:00
Karim Naufal
11dc61a39e tweaked k3s start 2022-02-20 13:36:41 +01:00
Marco Nenciarini
0f9d277293
Merge branch 'master' into modules 2022-02-20 11:30:07 +01:00
Karim Naufal
e39dc064e2 making k3s start more robust 2022-02-20 02:04:37 +01:00
Marco Nenciarini
0090c1a6f1
Fist attempt to factor microOS install 2022-02-20 00:00:13 +01:00
phaer
406ba988bf use jsonencode, not template for config.ign 2022-02-19 15:07:39 +01:00
Karim Naufal
1aae4b3b09 adjust ssh check loop time from sleep 2 to 3, to reduce the number of outputs 2022-02-18 01:13:28 +01:00
Karim Naufal
cb5aa2410d adjust ssh check loop time from sleep 3 to 5, to reduce the number of outputs 2022-02-17 21:49:03 +01:00
Karim Naufal
1f0a03b335 moved k3s-selinux install to combustion 2022-02-17 13:19:21 +01:00
Karim Naufal
9fa2fc9edc fix ip_not_available error 2022-02-16 11:06:47 +01:00
Karim Naufal
1165389fc3 fix ip_not_available error 2022-02-16 10:56:22 +01:00
Karim Naufal
4aabee0dad fix the upgrade node label 2022-02-16 09:23:28 +01:00
Karim Naufal
d920132694 k3s install method ok 2022-02-16 04:24:20 +01:00
Karim Naufal
fec695086a k3s-install ready for testing 2022-02-16 03:18:40 +01:00
Karim Naufal
7ac37f0ddf k3s-install init 2022-02-15 23:54:55 +01:00
Karim Naufal
a27adfc93d fix huge bug in agent definition 2022-02-15 21:47:24 +01:00
phaer
c46e912d3e use resource-level connection blocks...
this is now possible, since all our provisioners are using
the same settings. And it saves a bunch of lines
2022-02-11 16:00:19 +01:00
Karim Naufal
7a846f3a61 pre master 2022-02-10 03:31:20 +01:00
Karim Naufal
cd6b5e2768 pre master 2022-02-10 03:01:40 +01:00
Marco Nenciarini
0b13f900e1
Agents IP should not depend on servers_num 2022-02-09 13:03:31 +01:00
phaer
af78d8fc86 terraform fmt 2022-02-08 09:12:16 +01:00
phaer
797af82081 fix agent ip 2022-02-08 09:00:14 +01:00
phaer
cd63a5bc18 re-add agent.conf...
...because it's not worth the necessary overrides/hacks
in the base image to remove it.
2022-02-08 09:00:14 +01:00
phaer
960311ebd4 use yamlencode for k3s configs...
...and remove the now, hopefully unneeded workaround for
agent.conf, all values are in config.yaml now
2022-02-08 09:00:12 +01:00
Marco Nenciarini
d939600561
Avoid connection timeout errors while waiting for reboot 2022-02-07 22:58:34 +01:00
Karim Naufal
95c6b8be93 removed the ssh connection timeout messages while waiting, and also reduced the connection refused messages 2022-02-07 22:07:05 +01:00
phaer
1a50ace0d3 remove root from ssh_args...
because scp does not take the username via -l, so we just re-add
it to the commands themselves.
2022-02-07 13:19:06 +01:00