question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sporadic connection issues to kubelite-daemon on MacOS with multipass

See original GitHub issue

I want to run several services on microK8s with multipass on MacOS 11.2.3.

But the connection to microK8s seems to be pretty shaky.

When I helm install charts, I ran from time to time into errors like: Error: Get "https://192.168.64.2:16443/apis/apps/v1/namespaces/default/deployments/xyz": unexpected EOF

After several attempts this passes usually.

When trying to connect with curl, I can see that the connection to the K8s API cannot be established there either.

Do I have to scale-up the vm more?

In the attached logs, you can see that the kubelite-daemon is crashing.

snap.microk8s.daemon-kubelite.service.journal.zip

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
balchuacommented, Jun 28, 2021

Aaaa its likely. Care to try this? https://github.com/ubuntu/microk8s/issues/2205#issuecomment-827208050 Increasing the leader-election timeouts.

Forgot to ask, whats the size of the VM?

0reactions
sebastianwoinarcommented, Jul 2, 2021

It seems to be stable after reinstalling it with microk8s install --mem 8 instead of creating the VM directly with multipass.

Thanks for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot networking | Multipass documentation
This document demonstrates how to troubleshoot various known Multipass networking issues on macOS and Windows. Contents: MacOS. Architecture; Tools known to ...
Read more >
Multipass instances on m1 Mac cannot access internet #2680
I suspect they are using user networking which is not affected by random macOS networking issue. UTM and Multipass use qemu with the...
Read more >
Multipass MacOS network issues - Ubuntu Discourse
I there! I'm stuck trying to get VM connection working properly on MacOS . I tried every option of troubleshooting guide without success....
Read more >
Solve internet connection problems on Mac - Apple Support
On your Mac, choose Apple menu > System Settings, then click Network in the sidebar. (You may need to scroll down.)
Read more >
Troubleshooting Connection Issues on macOS - Serato Support
Having a hard time getting your controller to connect using macOS? Follow the recommended troubleshooting steps below to get up and running.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found