loft-sh / loft

Namespace & Virtual Cluster Manager for Kubernetes - Lightweight Virtual Clusters, Self-Service Provisioning for Engineers and 70% Cost Savings with Sleep Mode
https://loft.sh/docs/introduction
Other
737 stars 65 forks source link

Failed to create virtual cluster #219

Closed arielbangiev closed 1 year ago

arielbangiev commented 1 year ago

Hi,

We've a cluster in AWS, and we tried to create virtual cluster from the host cluster and it's failed on "Readiness probe failed: Get "https://100.96.1.17:8443/readyz": dial tcp 100.96.1.17:8443: connect: connection refused (Unhealthy)" can you please advise what the problem ?

Thanks, Ariel.

carlmontanari commented 1 year ago

👋 hey there!

we'll probably need some more info to help out here. are you creating a vcluster from the loft cli or ui, or vcluster cli? where is that error coming from? Id assume readiness probe on the vcluster pod itself? are there logs for that pod? please provide as much detail as you can.

arielbangiev commented 1 year ago

Hi

I am trying to create the virtual cluster via the UI after that I logged in. I've create a new cluster with my kubeconfig - called PR, then in the virtual cluster tab I tried to create a virtual cluster base on the PR cluster, in the logs I see that it's failed on "Readiness probe failed: Get "https://100.96.1.17:8443/readyz": dial tcp 100.96.1.17:8443: connect: connection refused (Unhealthy)"

image
carlmontanari commented 1 year ago

I suspect your vcluster is up and running (looks like you have 2/2 nodes running), and that is just an event from startup while the apiserver was not yet running and responding to a readiness probe.

carlmontanari commented 1 year ago

hey there - I think/hope that there is nothing to do here so I'm going to go ahead and close this for now. feel free to reopen if there is something to discuss here, or better yet, join us on slack for any follow up loft questions!