-
Notifications
You must be signed in to change notification settings - Fork 142
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
Cluster on Civo via CLI: no such host
/ cluster not found
#1903
Comments
the problem is definitely related to WSL2 and Docker on Windows. if somebody managed to solve it please let me know. I am sticking with the marketplace installer for now instead of CLI. wasted too much time on this "little issue" 😅 |
@marc0olo: both a colleague, and myself were not able to reproduce this issue on Windows 11, and WSL2 using Civo with v2.3.5 and GitHub/GitLab. It may be something about Windows 10, which I doubt. I assume John's solution didn't work for you? What is the result of running |
mhh 🤔 right now I am avoiding to test this again by using the marketplace installer of Civo instead. will check again if I find some time. but I saw another person posting on slack about this problem, maybe it is the same or related. John's solution is clear, but there is some strange config to be considered when running the whole stack on Windows via WSL2. so I wasn't able to solve it easily. |
Update: was having this issue when testing with DigitalOcean as well. However, managed to get it working. More context on what was done to resolve it here in this comment: |
@alechp: I think your issue isn't related to what @marc0olo was experimenting since it is specific to the move we are doing. As for @marc0olo, I wasn't able to replicate last time I tried, so we'll need to debug this together once you have the time. We can also consider this issue as closed if, as you mentioned, using only the marketplace now, and won't replicate. |
Which version of kubefirst are you using?
v2.3.5
Which cloud provider?
Civo
Which DNS?
Cloud ones (default)
Which installation type?
CLI
Which distributed Git provider?
GitHub
Which Operating System?
Windows
What is the issue?
We have discussed this already on Slack. I have tested multiple scenarios. In this specific case I used my own custom gitops-template which is based on the latest commit of the main branch. I don't think that the gitops-template causes the error.
My current assumption is that this is related to my local setup. I am running on Windows 10 and Docker is running with WLS2 (Ubuntu).
For whatever reason the kubefirst cluster for running cannot resolve the DNS names.
Logs
Possible solution
I just saw that other users faced this issue and I saw that @johndietz posted (https://kubefirst.slack.com/archives/C03U34WJ7FW/p1699204416688779?thread_ts=1699009556.005929&cid=C03U34WJ7FW) following solution:
Code of Conduct
The text was updated successfully, but these errors were encountered: