Commit Graph

13 Commits

Author SHA1 Message Date
phaer
63008004f7 wait for load-balancer ip, expose it via terraform 2022-02-21 16:59:19 +01:00
Marco Nenciarini
0090c1a6f1
Fist attempt to factor microOS install 2022-02-20 00:00:13 +01:00
Karim Naufal
edfbd5a15d temporily removed the lb output 2022-02-17 15:50:45 +01:00
phaer
8c40b53d14 terraform fmt 2022-02-14 11:24:30 +01:00
phaer
1c9ff2121c Expose load balancer ip in outputs 2022-02-14 00:24:08 +01:00
phaer
9dc4952665 Expose kubeconfig in outputs...
* To do so, we need to ensure that the generated kubeconfig is part of
  terraforms dependency graph. This has the additional benefit of not
  depending on local files anymore which should enable multi-user
  setups.

* This also means that we can't deploy CCM, CSI & Traefik from our local
  host, because we don't have kubeconfig.yaml locally while provisioning
  the control plane, only afterwards.

* So we just run kubectl apply on the control plane itself, after k3s is
  ready.

* To do so, we need to deploy all manifests. I've merged the patches
  into a single kustomization.yaml file, because that makes the
  deployment of those files to the control-plane server easier.

* we could also put the traefik config into the same kustomization file,
  which would save us one of the file provisioner blocks. I didn't want
  this PR to get any bigger, and will consider merging this config later
  on. kustomization.yaml is small enough that we could yamlencode() for
  it and store the patches in separate files again, not as
  inline-strings which is kind of ugly.
2022-02-11 12:45:03 +01:00
Karim Naufal
7532e7a4d5 initial k3s on MicroOS on Hetzner ok 2022-02-06 08:40:51 +01:00
Karim Naufal
623954e5ef microOS eth1 still down 2022-02-05 01:22:35 +01:00
Karim Naufal
0a1d876324
Revert "Add public IPv4 address of Traefik to output" 2022-01-13 21:30:33 +01:00
Dennis Hoppe
a4444ce233
Add public IPv4 address of Traefik to output 2022-01-13 14:57:21 +01:00
Karim Naufal
8113016f86 k3os ok 2021-12-03 02:11:52 +01:00
Karim Naufal
61f8093951 k3os master ok 2021-11-30 23:09:34 +01:00
Karim Naufal
f615c994af initial commit 2021-07-30 10:12:37 +02:00