slauger/hcloud-okd4

What content should be found at this URL?

Closed this issue · 3 comments

What content should be found at this URL?

"source": "http://169.254.169.254/hetzner/v1/userdata",

The one from make generate_ignition ?

This is the URL of the hcloud user data, where we put in the rendered template.ign from the terraform hcloud_coreos module. This template basically contains another source statement - to either the ignition node (for the bootstrap node) or directly machine config server (api-int:22623).

https://github.com/slauger/hcloud-okd4/blob/master/terraform/modules/hcloud_coreos/main.tf#L8
https://github.com/slauger/hcloud-okd4/blob/master/terraform/modules/hcloud_coreos/template.ign

The userdata field in the hcloud is limited to 32KiB. The ignition file for the bootstrap node exceeds the limit of 32KiB, so we need the "workaround" with the ignition node.

Thanks for the quick response!