Karim Naufal
edfbd5a15d
temporily removed the lb output
2022-02-17 15:50:45 +01:00
Karim Naufal
a91c15720e
Merge branch 'k3s-install' of github.com:kube-hetzner/kube-hetzner into k3s-install
2022-02-17 13:22:23 +01:00
Karim Naufal
1f0a03b335
moved k3s-selinux install to combustion
2022-02-17 13:19:21 +01:00
Marco Nenciarini
b12bc56b09
Make sure apt indexes are up-to-date in recovery environment
2022-02-17 09:48:27 +01:00
Karim Naufal
f59225bf9c
updated readme for k3s install
2022-02-16 12:12:05 +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
bcdc5603a3
k3s install method ok
2022-02-16 05:30:09 +01:00
Karim Naufal
addf44c39f
k3s install method ok
2022-02-16 05:27:52 +01:00
Karim Naufal
bffc921ed8
k3s install method ok
2022-02-16 05:01:53 +01:00
Karim Naufal
dcf9af0e3c
k3s install method ok
2022-02-16 05:01:13 +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
1f0c825b23
switch image to standard microos
2022-02-16 00:13:02 +01:00
Karim Naufal
7ac37f0ddf
k3s-install init
2022-02-15 23:54:55 +01:00
Karim Naufal
9c3e3034f7
waiting for the lb on agent[0]
2022-02-15 23:00:27 +01:00
Karim Naufal
51f9718657
removed latest csi and latest ccm containers option, as it was causing problems over time
2022-02-15 22:33:22 +01:00
Karim Naufal
a27adfc93d
fix huge bug in agent definition
2022-02-15 21:47:24 +01:00
Karim Naufal
037f03c50b
Merge pull request #69 from kube-hetzner/expose-load-balancer-ip
...
Expose load balancer ip
2022-02-14 19:00:51 +01:00
phaer
8c40b53d14
terraform fmt
2022-02-14 11:24:30 +01:00
phaer
41563fb938
load balancer ip depends on deployed CCM...
...
...so a finished first control plane, more or less
2022-02-14 11:14:14 +01:00
phaer
1c9ff2121c
Expose load balancer ip in outputs
2022-02-14 00:24:08 +01:00
Karim Naufal
d9498a5637
tweaked readme
2022-02-12 02:04:41 +01:00
Karim Naufal
d332b5d96b
tweaked readme
2022-02-12 02:00:37 +01:00
Karim Naufal
8c87da4488
deleted orphaned directory
2022-02-12 01:54:21 +01:00
Karim Naufal
e7cec70b1f
fix typo
2022-02-12 01:53:58 +01:00
Karim Naufal
657c930c2a
deleted orphaned directory
2022-02-12 01:53:12 +01:00
Karim Naufal
cbe343c72b
fix typo
2022-02-12 01:49:33 +01:00
Karim Naufal
e6b12a172c
fix for error messages
2022-02-12 01:45:25 +01:00
Karim Naufal
75fd63da1e
Merge pull request #66 from phaer/expose-kubeconfig-microos
...
Expose kubeconfig in outputs...
2022-02-12 01:23:19 +01:00
phaer
740b20966f
remove duplicate systemctl start k3s-server
2022-02-12 01:09:34 +01:00
phaer
8ba33a12c8
fix post-install kustomization, keep file...
...
this risks exposing secrets from the deployed manifests,
but those are currently deployed beforehand so we should
be good as long as kustomization.yaml does not contain
any.
2022-02-12 00:52:13 +01:00
phaer
ca64e97563
split provisioning for better logging
2022-02-12 00:32:11 +01:00
phaer
1daa14defc
fix waiting for the cluster once again
2022-02-11 23:57:18 +01:00
phaer
347ba42866
replace kustomization.yaml.tpl with yamlencode
...
benefit is replacing inline strings in yaml with proper files
locally while still just deploying a single file to the remote
host.
2022-02-11 23:49:54 +01:00
phaer
ddcc473ea8
(hopefully) simplify wait for cluster ready
2022-02-11 23:49:16 +01:00
phaer
48a0d0e33f
fix /tmp/post_install...
...
...without an explicit mkdir before, it just writes the latest
file to /tmp/post_install (which is a file, not a directory)
2022-02-11 23:28:32 +01:00
phaer
d56031951e
undo readyz formatting...
...
...running into weird issues and keep getting 403, while it worked
with the old formatting. maybe bash escaping?
2022-02-11 23:10:43 +01:00
phaer
92937f0081
cleanup first control plane provisioning...
...
* move yaml to subdirectory of /tmp
* reformat loop waiting for /readyz endpoint
* add logging message
* split provisioner because sensitive var.hcloud_token prohibits
log output
2022-02-11 22:47:57 +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
f1f6e8448c
tweaked readme
2022-02-11 13:28:27 +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
4497a7fd7f
tweaked readme
2022-02-10 22:13:16 +01:00
Karim Naufal
dd69220c58
tweaked readme
2022-02-10 13:31:31 +01:00
Karim Naufal
771e19c3fc
Merge pull request #62 from shlyamster/fix-openSUSE-url
...
fix: openSUSE url
2022-02-10 13:23:14 +01:00
Karim Naufal
86673fea86
fixed for missing metalink
2022-02-10 13:16:09 +01:00
Maxim Shlyamov
68be2199db
fix: openSUSE url
...
Fixed use of openSUSE for the master branch, not the staging
2022-02-10 15:44:49 +04:00
Karim Naufal
a3419c65c4
added mention of our k3os branch
2022-02-10 09:46:27 +01:00
Karim Naufal
a262231e9c
tweaked readme
2022-02-10 03:52:08 +01:00