apiVersion: kubeone.k8c.io/v1beta2 kind: KubeOneCluster versions: kubernetes: '1.21.12' cloudProvider: hetzner: {} external: true controlPlane: hosts: - sshPort: 22 # can be left out if using the default (22) sshUsername: root # You usually want to configure either a private key OR an # agent socket, but never both. The socket value can be # prefixed with "env:" to refer to an environment variable. sshPrivateKeyFile: '~/.ssh/demo-cluster' apiEndpoint: host: '' port: 6443 alternativeNames: []