-
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
Issues after manually stopping & restarting k3d clusters with Moby on Fedora #1874
Comments
Thanks for reporting @gregory-j-baker, I'll ask the engineering team to give it a closer look, cause I can't replicate. Can you tell us on which OS, and its version you are using kubefirst please? |
hello @gregory-j-baker, we tried to replicate in Ubuntu 22.04, I had a similar issue with local certificates, but I install After these process I open a new navigator and works |
@gregory-j-baker as @fharper mention please provide us your SO, I guess is some linux distribution, but not sure |
@gregory-j-baker: if you're on Ubuntu, can you validate that installing the additional library @jairoFernandez mentioned, fix the following error when running
If it was the issue, after that if you run again the Lastly, if you ping me on Slack, I'm Fred, I'll send you a form for swag to thank you for finding this issue! |
I am using Fedora 38 workstation, and I've been playing around with kubefirst since v2.2.x (see #1836). I have no issues running ❯ mkcert -uninstall
Sudo password:
The local CA is now uninstalled from the system trust store(s)! 👋
❯ mkcert -install
The local CA is now installed in the system trust store! ⚡️
The local CA is now installed in the Firefox and/or Chrome/Chromium trust store (requires browser restart)! 🦊 I will try a |
FYI, running Is there anything else I can do to help you guys out with this? |
I wasn't able to replicate the issue, but I'll try on a Fedora installation see if it helps. |
In case it's helpful, I use There are also a myriad of custom selinux policies that I apply because Fedora really locks down containers out of the box. You may want to run |
Oops one further update.. After creating the new cluster, the kubefirst console works as expected. However, the metaphor dev deployment is giving a 404 (with a mkcert signed certificate), and metaphor staging and production are both giving me TLS issues (being dispatched with Argo CD is working fine and has a good certificate, but a bunch of applications are in a degraded state. I don't have time to dig into this right now, but if I find some time tonight or tomorrow I'll see if I can get more information. For what it's worth, I didn't have any of these issues when I deployed a k3d instance using kubefirst 2.2.x. |
Weird, I don't think we change anything on the certificates side of things in v2.3. |
Small update: the brand new cluster is fine and everything works as expected. The problems I mentioned about the certificates and the Argo CD degraded status happen after I |
Thanks for the follow-up. I know it wasn't an issue at all before 2.3.x to stop/start k3d clusters, so let me give it a try with 2.3.3, and get back to you. |
So I'm not able to replicate on macOS using Docker. A that point, I would assume it is related to using an unsupported (by us) containers engine like Moby. Do you have the same issue using Docker? It is also working fine before you manually stop the cluster, and k3d is more like a kubefirst testing playground, than something one should use in production vs a public cloud. |
Moby is the upstream project that Docker is built upon, and I haven't had any issues with it at all in the 4+ years that I've been using it. I would be very surprised if Moby (vs Docker) was the problem here. But if I find time I will try using docker-ce in a VM, just to be sure. Anyway.. as you mentioned, kubefirst on k3d is definitely just for tinkering and playing around, so I'm absolutely okay to destroy and recreate the cluster whenever I need to. |
Perfect, I'll try to use Moby also for my tests. As you wrote, it's not the same, even if Docker is built upon Moby, it's not the same. Also, it could be a number of things that interact differently, not just Moby, but k3d, the OS itself. I installed Fedora, so I'll try to test it on it as soon as I can. |
Which version of kubefirst are you using?
2.3.3
Which cloud provider?
k3d (local)
Which DNS?
None specific
Which installation type?
CLI
Which distributed Git provider?
GitHub
What is the issue?
I cannot create a new cluster with v2.3.3 of kubefirst CLI (I also unsuccessfully tried with v2.3.0).
See below:
The certificates were successfully generated in
~/.k1/kubefirst/ssl/kubefirst.dev/pem
(and signed by the mkcert CA), but the log file seems to maybe show an error:That is repeated for every certificate that kubefirst tries to create.
When I try to hit any of the ingresses in the cluster, I get served the default Traefik certificate.
Code of Conduct
The text was updated successfully, but these errors were encountered: