Commit Graph

355 Commits

Author SHA1 Message Date
Karim Naufal
a262231e9c tweaked readme 2022-02-10 03:52:08 +01:00
Karim Naufal
e78ebe570a tweaked readme 2022-02-10 03:50:54 +01:00
Karim Naufal
7a846f3a61 pre master 2022-02-10 03:31:20 +01:00
Karim Naufal
e7f016fc59 tempory patch for aria2c file 2022-02-10 03:06:40 +01:00
Karim Naufal
cd6b5e2768 pre master 2022-02-10 03:01:40 +01:00
Karim Naufal
036404c983
Merge pull request #52 from mnencia/staging
Agents IP should not depend on servers_num
2022-02-09 13:58:32 +01:00
Marco Nenciarini
0b13f900e1
Agents IP should not depend on servers_num 2022-02-09 13:03:31 +01:00
Karim Naufal
43de74b887
Merge pull request #51 from mnencia/staging
Fix the kured reboot command
2022-02-09 12:15:38 +01:00
Marco Nenciarini
573155e5b7
Fix the kured reboot command 2022-02-09 11:53:11 +01:00
Karim Naufal
b123845937 changed kured config 2022-02-09 10:17:33 +01:00
Karim Naufal
940b5d628e
Merge pull request #50 from phaer/remove-templates
Replace k3s config templates with yamlencode
2022-02-08 16:09:03 +01:00
Paul Haerle
4f6812a59a
Use yaml list for disabled k3s features
Co-authored-by: Marco Nenciarini <mnencia@kcore.it>
2022-02-08 14:14:23 +01:00
phaer
af78d8fc86 terraform fmt 2022-02-08 09:12:16 +01:00
phaer
d6fe4152c9 re-add node-taints after rebase 2022-02-08 09:05:36 +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
Karim Naufal
e2d1ed3068 added further measure to make sure disk is ready after partition 2022-02-08 01:32:39 +01:00
Karim Naufal
ddcf7904c0 updated the readme with MicroOS 2022-02-08 00:59:25 +01:00
Karim Naufal
3ffe7b5c69 updated the readme with MicroOS 2022-02-08 00:53:08 +01:00
Karim Naufal
332d66deb1
Merge pull request #48 from mnencia/staging
Avoid connection timeout errors while waiting for reboot
2022-02-08 00:06:39 +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
Karim Naufal
c6e6115bb9
Merge pull request #47 from mnencia/optional-taint
Add setting to allow_scheduling_on_control_plane
2022-02-07 16:46:57 +01:00
Marco Nenciarini
7e6eb731dd
Add setting to allow_scheduling_on_control_plane 2022-02-07 16:11:41 +01:00
Karim Naufal
ee7a0af8aa
Merge pull request #43 from mnencia/taint
Taint control-plane nodes with node-role.kubernetes.io/master:NoSchedule
2022-02-07 15:56:39 +01:00
Karim Naufal
61f8b30b55
Merge pull request #42 from mnencia/staging
Really disable servicelb
2022-02-07 15:55:34 +01:00
Karim Naufal
9803e9a920
Merge pull request #44 from phaer/fix-ssh-identity
fix ssh identity in staging
2022-02-07 15:45:42 +01:00
Karim Naufal
837ad60a71
Merge pull request #45 from phaer/staging-fix-kubectl
fix kubectl get nodes missing --kubeconfig
2022-02-07 15:43:06 +01:00
phaer
bc18586132 fix kubectl get nodes missing --kubeconfig
the current implementation works co-incidentally for most
setups, when terraform apply is run from the repos root,
but not when kube-hetzner is used as a terraform module
2022-02-07 13:58:21 +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
phaer
a5914f81e6 fix ssh identity...
Newly added ssh commands were missing the flag -i to pass an
identity file. This means that those commands use different
settings then the provisioners and their connection blocks
around them.

While adding this parameter, I decided it would be cleanest
to add local.ssh_args.
2022-02-07 13:08:47 +01:00
Marco Nenciarini
8ee732e694
Taint control-plane nodes with node-role.kubernetes.io/master:NoSchedule 2022-02-07 12:30:43 +01:00
Marco Nenciarini
f37c6c73c4
Really disable servicelb 2022-02-07 12:29:26 +01:00
Karim Naufal
d61b000af0 removed generated kured kustomization from git 2022-02-07 10:05:02 +01:00
Karim Naufal
c18d14e145
Merge pull request #41 from mnencia/staging
Reduce reboot time
2022-02-07 10:02:39 +01:00
Marco Nenciarini
cf68368eea
Reduce reboot time 2022-02-07 09:55:02 +01:00
Karim Naufal
919e1087f8 added kured and fixed initial ignition disk partitioning 2022-02-07 09:36:21 +01:00
Karim Naufal
fba212de47 added kured and fixed initial ignition disk partitioning 2022-02-07 08:46:10 +01:00
Karim Naufal
7532e7a4d5 initial k3s on MicroOS on Hetzner ok 2022-02-06 08:40:51 +01:00
Karim Naufal
4eaebce270
Merge pull request #40 from mnencia/staging
Configure eth1 and set hostname
2022-02-05 23:01:11 +01:00
Marco Nenciarini
63eb166eb9
Configure eth1 and set hostname 2022-02-05 19:34:36 +01:00
Karim Naufal
7bbd42d1e6 tweaked .gitignore 2022-02-05 02:06:56 +01:00
Karim Naufal
623954e5ef microOS eth1 still down 2022-02-05 01:22:35 +01:00
Karim Naufal
3f0f0ca705 microOS prep 2022-02-05 00:02:25 +01:00
Karim Naufal
87e6ac43f3
Merge pull request #37 from Olivierwenger/feature/add-tls
added letsencrypt with http challenge configuration for traefik
2022-02-03 09:34:52 +01:00
Olivier Wenger
23d17382ac Replaced httpChallenge with tlsChallenge
Co-authored-by: Marco Nenciarini <mnencia@kcore.it>
2022-02-03 09:29:56 +01:00
Olivier Wenger
285e115475 added letsencrypt configuration for traefik 2022-02-03 09:29:56 +01:00
Karim Naufal
5384643866 tweaked readme 2022-02-03 09:29:56 +01:00
Waël Ammar
9b7375e424 Add Hetzner placement group and link servers to it 2022-02-03 09:29:56 +01:00