Too many authentication failures #174
Answered
by
mysticaltech
anish-dcruz
asked this question in
Q&A
-
Hi All, I was trying to setup k8s with below terraform config module "kube-hetzner" {
source = "kube-hetzner/kube-hetzner/hcloud"
version = "1.0.1"
hcloud_token = ""
public_key = ""
private_key = ""
network_region = "eu-central" # change to `us-east` if location is ash
control_plane_nodepools = [
{
name = "control-plane-nbg1",
server_type = "cpx11",
location = "nbg1",
labels = [],
taints = [],
count = 1
},
]
agent_nodepools = [
{
name = "agent-small",
server_type = "cpx11",
location = "nbg1",
labels = [],
taints = [],
count = 1
},
]
load_balancer_type = "lb11"
load_balancer_location = "nbg1"
} And this output was being run for 10 minutes module.kube-hetzner.module.agents["0-0-agent-small"].hcloud_server.server (local-exec): Waiting for MicroOS to reboot and become available...
module.kube-hetzner.module.control_planes["0-0-control-plane-nbg1"].hcloud_server.server (local-exec): Waiting for MicroOS to reboot and become available...
module.kube-hetzner.module.agents["0-0-agent-small"].hcloud_server.server (local-exec): Waiting for MicroOS to reboot and become available...
module.kube-hetzner.module.control_planes["0-0-control-plane-nbg1"].hcloud_server.server (local-exec): Waiting for MicroOS to reboot and become available...
module.kube-hetzner.module.agents["0-0-agent-small"].hcloud_server.server (local-exec): Waiting for MicroOS to reboot and become available...
module.kube-hetzner.module.control_planes["0-0-control-plane-nbg1"].hcloud_server.server (local-exec): Waiting for MicroOS to reboot and become available...
module.kube-hetzner.module.agents["0-0-agent-small"].hcloud_server.server: Still creating... [10m30s elapsed] So i tried ssh into one of the server and got this error
Can somone tell me if this is due my internet ip or related to terraform? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
mysticaltech
May 24, 2022
Replies: 1 comment
-
@anish-dcruz This is due to the type of SSH key pair that you use! You need to destroy your cluster. Change to the correct type of SSH key pair, and create the cluster again! It will work. See https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/blob/master/docs/ssh.md. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mysticaltech
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@anish-dcruz This is due to the type of SSH key pair that you use! You need to destroy your cluster. Change to the correct type of SSH key pair, and create the cluster again! It will work.
See https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/blob/master/docs/ssh.md.