-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Missing /root/.kube/k3s.yaml #15
Comments
@MichaelJCole hmmm. Let me look into this. Does systemd do some automatic blackmagic and make |
@MichaelJCole I haven't looked at this yet but just wanted to call out that you can control where that file is written to with |
Hi @ibuildthecloud I don't think systemd does any black magic on it. The first line had an error: "server https://localhost:6443/cacerts is not trusted:" which may be the root cause. I'm not sure why that is or how to work around it. I used the systemd example in the README on a custom Raspberry Pi image. The second line looks like a console messaging bug (printing success even on fail), possibly from upstream. Thanks for looking at it! Michael |
Thanks, knowing it's raspberry pi helps a lot. Things are so much slower that I could be hitting a timeout somewhere. I'll test on rpi. @MichaelJCole Which Raspberry PI are you using? I typically just test on rpi3 b. |
Ok yes! It's a 3. Thanks!
…On Mon, Feb 4, 2019, 3:46 PM Darren Shepherd ***@***.*** wrote:
Thanks, knowing it's raspberry pi helps a lot. Things are so much slower
that I could be hitting a timeout somewhere. I'll test on rpi.
@MichaelJCole <https://github.com/MichaelJCole> Which Raspberry PI are
you using? I typically just test on rpi3 b.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABb2FqueUljMSiVud-KUKwRRG5IlzyPxks5vKMZcgaJpZM4afCPU>
.
|
alpine Linux have the same issue. It stuck in printing out server url, never move forward to write the yaml file
|
@MichaelJCole I haven't yet been able to reproduce this, could you possibly try v0.1.0-rc3 that I just released and see if you still get the same behavior. @liyimeng I believe the issue you are seeing is different. There was a deadlock issue on startup while generating the TLS certs that would cause the server to hang on startup |
@ibuildthecloud I moved on to another project, so I won't have the hardware for it :-( If you're not able to reproduce, then it can probably be closed. It would be cool to have a "known working config" to use k3s with on Pi 3's - or a blog post. I'm really interested in your project! |
@MichaelJCole Thanks. We definitely have writes up in the works right. I'll close this issue for now. |
As seen in issues such as k3s-io#15 k3s-io#155 k3s-io#518 k3s-io#570 there are situations where k3s will fail to write the kubeconfig file, but reports that it wrote it anyway as the success message is printed unconditionally. Also, secondary actions like setting file mode and creating a symlink are also attempted even if the file was not created. This change skips attempting additional actions, and propagates the failure back upwards. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Hi there, thanks for your project. We're excited to be using it!
I noticed this bug. The logs say the config file was written, but it wasn't:
Thanks!
The text was updated successfully, but these errors were encountered: