Skip to content

masters node pool has an invalid instance type #671

@rmelilloii

Description

@rmelilloii

Hello again and happy almost Friday! I believe I am a bit unlucky with it, but here we go.

hetzner-k3s --version = 2.4.1
Location: nbg1
VM SKU: cx43

On my mind, would make sense the error is due to some sort of cached SKU list? It fails with all SKUs flagged as "new" on the hcloud UI/console.
*VM can be created via hcloud UI/console.

deploy yaml: (same as last creation a month ago, only difference, the VM SKU and the location)

---
hetzner_token: ***
cluster_name: eu-dev2-app
kubeconfig_path: "./kubeconfig"
k3s_version: v1.33.4+k3s1

networking:
  ssh:
    port: 22
    use_agent: false # set to true if your key has a passphrase
    public_key_path: "***"
    private_key_path: "***"
  allowed_networks:
    ssh:
      - ***/32
    api:
      - ***/32
  public_network:
    ipv4: true
    ipv6: true
  private_network:
    enabled: true
    subnet: 10.100.0.0/16
  cni:
    enabled: true
    encryption: false
    mode: flannel

datastore:
  mode: etcd
  etcd:
#    # etcd snapshot configuration (optional)
    snapshot_retention: 5
    snapshot_schedule_cron: "0 * * * *"
#    # S3 snapshot configuration (optional)
    s3_enabled: true
    s3_endpoint: "s3.wasabisys.com"
    s3_region: "***"
    s3_bucket: "***"
    s3_access_key: "***"
    s3_secret_key: "***"
    s3_folder: ""

schedule_workloads_on_masters: true

masters_pool:
  instance_type: cx43
  instance_count: 3
  locations:
    - nbg1
    - nbg1
    - nbg1
  image: ubuntu-24.04
embedded_registry_mirror:
  enabled: true
addons:
   metrics_server:
     enabled: true
   cluster_autoscaler:
     enabled: false

protect_against_deletion: false
create_load_balancer_for_the_kubernetes_api: false
k3s_upgrade_concurrency: 1

additional_pre_k3s_commands:
- apt update
- apt upgrade -y

additional_post_k3s_commands:
- echo fs.inotify.max_user_watches=1048576|tee -a /etc/sysctl.conf
- echo fs.inotify.max_user_instances=1024|tee -a /etc/sysctl.conf
- sed -i "/2a01:4ff:ff00::add:2/d" /etc/netplan/50-cloud-init.yaml
- netplan apply
- echo Ciphers aes256-ctr,aes192-ctr,aes128-ctr|tee -a /etc/ssh/sshd_config
- echo MACs hmac-sha2-256,hmac-sha2-512|tee -a /etc/ssh/sshd_config
- echo KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256 | sudo tee -a /etc/ssh/sshd_config
- apt autoremove -y
kubelet_args:
- tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305

error:

hetzner-k3s create --config ./hetzner-deploy.yaml
 _          _                            _    _____     
| |__   ___| |_ _____ __   ___ _ __     | | _|___ / ___ 
| '_ \ / _ \ __|_  / '_ \ / _ \ '__|____| |/ / |_ \/ __|
| | | |  __/ |_ / /| | | |  __/ | |_____|   < ___) \__ \
|_| |_|\___|\__/___|_| |_|\___|_|       |_|\_\____/|___/

Version: 2.4.1

[Configuration] Validating configuration...
[Configuration] Some information in the configuration file requires your attention, aborting.
[Configuration]  - masters node pool has an invalid instance type

VM SKU list:

hcloud server-type list
ID    NAME    CORES   CPU TYPE    ARCHITECTURE   MEMORY     DISK     STORAGE TYPE
22    cpx11   2       shared      x86            2.0 GB     40 GB    local       
23    cpx21   3       shared      x86            4.0 GB     80 GB    local       
24    cpx31   4       shared      x86            8.0 GB     160 GB   local       
25    cpx41   8       shared      x86            16.0 GB    240 GB   local       
26    cpx51   16      shared      x86            32.0 GB    360 GB   local       
45    cax11   2       shared      arm            4.0 GB     40 GB    local       
93    cax21   4       shared      arm            8.0 GB     80 GB    local       
94    cax31   8       shared      arm            16.0 GB    160 GB   local       
95    cax41   16      shared      arm            32.0 GB    320 GB   local       
96    ccx13   2       dedicated   x86            8.0 GB     80 GB    local       
97    ccx23   4       dedicated   x86            16.0 GB    160 GB   local       
98    ccx33   8       dedicated   x86            32.0 GB    240 GB   local       
99    ccx43   16      dedicated   x86            64.0 GB    360 GB   local       
100   ccx53   32      dedicated   x86            128.0 GB   600 GB   local       
101   ccx63   48      dedicated   x86            192.0 GB   960 GB   local       
104   cx22    2       shared      x86            4.0 GB     40 GB    local       
105   cx32    4       shared      x86            8.0 GB     80 GB    local       
106   cx42    8       shared      x86            16.0 GB    160 GB   local       
107   cx52    16      shared      x86            32.0 GB    320 GB   local       
108   cpx12   1       shared      x86            2.0 GB     40 GB    local       
109   cpx22   2       shared      x86            4.0 GB     80 GB    local       
110   cpx32   4       shared      x86            8.0 GB     160 GB   local       
111   cpx42   8       shared      x86            16.0 GB    320 GB   local       
112   cpx52   12      shared      x86            24.0 GB    480 GB   local       
113   cpx62   16      shared      x86            32.0 GB    640 GB   local       
114   cx23    2       shared      x86            4.0 GB     40 GB    local       
115   cx33    4       shared      x86            8.0 GB     80 GB    local       
116   cx43    8       shared      x86            16.0 GB    160 GB   local       
117   cx53    16      shared      x86            32.0 GB    320 GB   local       

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions