Skip to main content

Hetzner Configuration

general.yaml​

Hetzner HCloud​

cloud:
hetzner:
hcloud:
region: nbg1
sshKeyName: kubeaid-demo
controlPlane:
serverType: cpx31
replicas: 3
nodePools:
- name: workers
serverType: cpx41
minSize: 1
maxSize: 10
note

HCloud storage only allows a maximum of 16 buckets per physical node. Plan your PV usage accordingly.

Hetzner Bare Metal​

cloud:
hetzner:
bareMetal:
wipeDisks: false # Set true to wipe existing RAID
controlPlane:
serverIds: [123456, 123457, 123458] # Must be unique within the cluster
nodePools:
- name: workers
serverIds: [234567, 234568] # Must be unique within the cluster
labels:
node-type: worker
taints: []
note

Server IDs must be unique within a cluster. Each server can only belong to one node pool.

Hetzner Hybrid​

cloud:
hetzner:
hcloud:
# Control plane in HCloud
controlPlane:
serverType: cpx31
replicas: 3
bareMetal:
# Workers in Bare Metal
nodePools:
- name: bare-metal-workers
serverIds: [234567, 234568]

secrets.yaml​

Hetzner credentials:

hetzner:
hcloudToken: <hcloud-api-token>
robotUser: <robot-username> # For bare metal only
robotPassword: <robot-password> # For bare metal only