-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task failed, error was: runtime: running task on "IP" #3355
Comments
@Linutux Can you please collect logs for kube-apiserver and kubelet, and post them in this ticket (I recommend putting them in a GitHub Gist if there's a lot of logs)? Those kubeadm logs don't tell much, but it's likely that there's something wrong with kubelet or kube-apiserver. You can grab kubelet logs with |
I have something similar issue, it looks like
On control plane node kubelet logs says
For some reason this file Fixed:After investigating, I found that I needed to set the IP address of first control plane node in |
This did indeed help. After terraform execution I added the IP of the Hetzner Kubernetes API Loadbalancer to the kubeone.yaml and the installation succeeded:
|
@aki-luxor @Linutux do you have those lines in your terraform? kubeone/examples/terraform/hetzner/output.tf Lines 17 to 24 in e50a6b1
This is the automation to get the apiEndpoint.host from terraform. Is it broken?! |
Yes. My file looks exactly like to one in the repo, I just copied it some week ago. The only terraform file I have modified is the terraform.tfvars. |
well. I can not reproduce the issue. my kubeone config apiVersion: kubeone.k8c.io/v1beta2
kind: KubeOneCluster
versions:
kubernetes: 1.29.3
cloudProvider:
external: true my terraform state after I've created it
my terraform outputs
and then I have it merged at runtime into kubeone config (in memory)
So that all together worked. |
Sorry for not making this clear earlier, I am not using TF module. I was provisioning cluster manually without TF automation. |
What happened?
I tried installing a cluster on Hetzner Cloud using the following kubeone.yaml:
The kubeadm setup on each node is successfull, but the load balancer in the Hetzner Cloud console shows it as unhealthy and the following error is shown during the install:
Expected behavior
A cluster will be installed.
How to reproduce the issue?
What KubeOne version are you using?
Provide your KubeOneCluster manifest here (if applicable)
What cloud provider are you running on?
Hetzner
What operating system are you running in your cluster?
Ubuntu 22.04
Additional information
The text was updated successfully, but these errors were encountered: