Menu

#1398 Hetzner guide problems

open
nobody
None
2025-09-08
2025-09-08
Anonymous
No

Originally created by: circle3451

Hello
I have had a lot of trouble getting started, when following your guide on getting started with Hetzner. Cozystack docs - Hetzner guide

In general the guide is a little difficult to follow.
I would love to get started with your software. Maybe the guide could be reworked a little?

Best regards

Im running into a lot of errors like the following.

 talm template -e 136.243.172.169 -n 136.243.172.169 -t templates/controlplane.yaml -i > nodes/node1
failed to render templates: template: hetzner/templates/worker.yaml:2:4: executing "hetzner/templates/worker.yaml" at <include "talos.config" .>: error calling include: template: hetzner/templates/_helpers.tpl:17:11: executing "talos.config" at <gt .Values.nr_hugepages 0>: error calling gt: invalid type for comparison

This one happened after step 2.1.5

 talm apply -f nodes/node1.yaml -i

full config processing error: error decoding  to *v1alpha1.Config: yaml: unmarshal errors:
  line 24: cannot unmarshal !!map into v1alpha1.NetworkDeviceList

Or an error like this because the template is node1 instead of node1.yaml

talm template -e 136.243.172.169 -n 136.243.172.169 -t templates/controlplane.yaml -i > nodes/node1
❯ talm apply -f nodes/node1.yaml -i

Warning: modeline parsing failed: error opening config file: open nodes/node1.yaml: no such file or directory
error opening config file: open nodes/node1.yaml: no such file or directory

Discussion

  • Anonymous

    Anonymous - 2025-09-08

    Originally posted by: NickVolynkin

    Hi @circle3451, thanks for telling us about the problems.

    All configs are in YAML, so it's better to keep the .yaml file extensions. Of course, file names should match: you create a file with talm template and then apply it with talm apply.

    talm template -e 136.243.172.169 -n 136.243.172.169 -t templates/controlplane.yaml -i > nodes/node1.yaml
    talm apply -f nodes/node1.yaml -i
    

    This looks like a parsing error in Helm. We will look into it:

    failed to render templates: template: hetzner/templates/worker.yaml:2:4: executing "hetzner/templates/worker.yaml" at <include "talos.config" .>: error calling include: template: hetzner/templates/_helpers.tpl:17:11: executing "talos.config" at <gt .Values.nr_hugepages 0>: error calling gt: invalid type for comparison
    
     
  • Anonymous

    Anonymous - 2025-09-08

    Originally posted by: NickVolynkin

    Just checking — did you use the Cozystack preset for configs?

    talm init --preset cozystack
    
     

Log in to post a comment.