HCloudMachineTemplate

In HCloudMachineTemplate you can define all important properties for HCloudMachines . HCloudMachines are reconciled by the HCloudMachineController , which creates and deletes servers in Hetzner Cloud.

Overview of HCloudMachineTemplate.Spec

KeyTypeDefaultRequiredDescription
template.spec.providerID string noProviderID set by controller
template.spec.type string yesDesired server type of server in Hetzner's Cloud API. Example: cpx11
template.spec.imageName string yesSpecifies desired image of server. ImageName can reference an image uploaded to Hetzner API in two ways: either directly as name of an image, or as label of an image (see here for more details)
template.spec.sshKeys object noSSHKeys that are scoped to this machine
template.spec.sshKeys.hcloud []object noSSH keys for HCloud
template.spec.sshKeys.hcloud.name string yesName of SSH key
template.spec.sshKeys.hcloud.fingerprint string noFingerprint of SSH key - used by the controller
template.spec.placementGroupName string noPlacement group of the machine in HCloud API, must be referencing an existing placement group
template.spec.publicNetwork object {enableIPv4: true, enabledIPv6: true} noSpecs about primary IP address of server. If both IPv4 and IPv6 are disabled, then the private network has to be enabled
template.spec.publicNetwork.enableIPv4 bool true noDefines whether server has IPv4 address enabled. As Hetzner load balancers require an IPv4 address, this setting will be ignored and set to true if there is no private net.
template.spec.publicNetwork.enableIPv6 bool true noDefines whether server has IPv6 address enabled
Previous
HetznerCluster
Next
HCloudRemediationTemplate