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.

Docker crashing MicroK8s kubelet

See original GitHub issue

Hi,

I’m in the process of changing all of my docker deployments over to a microK8s cluster. After successfully deploying the application in K8s I go to my docker’s application repository and run docker-compose down

This stops and removes the docker container but so far, every time I have done this ( 3 or 4 times now ) my kubelet changes to a FAIL! state and my node changes to NotReady

So far I’ve just been restarting the kubelet manually as my solution.

Host: Ubuntu 20.04 Docker: 20.10.6 MicroK8s: 1.20.6

inspection-report-20210517_023626.tar.gz

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
JakeMHughescommented, Jun 20, 2021

with --bind-address=0.0.0.0 and after updating to 1.21, I havent ran into the issue since ( also have not tried 1.21 without the bind address either )

1reaction
balchuacommented, May 17, 2021

@MrCorncob if you can try adding the arguments i mentioned here https://github.com/ubuntu/microk8s/issues/2269#issuecomment-842353921 see if it still restarts the daemons.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - MicroK8s
You may experience the API server being slow, crashing or forming an unstable multi node cluster. Such problems are often traced to low...
Read more >
Microk8s crashes when attempting to join cluster · Issue #1880
I'm attempting to set up a mixed architecture microk8s cluster. I have an x86 node that I'm using as the starting leader node...
Read more >
Kubernetes CrashLoopBackOff: What it is, and how to fix it?
CrashLoopBackOff is a Kubernetes state representing a restart loop that is happening in a Pod: a container in the Pod is started, but...
Read more >
Kubernetes CrashLoopBackOff Error: What It Is and How to Fix It
A common reason pods in your Kubernetes cluster display a CrashLoopBackOff message is that Kubernetes springs deprecated versions of Docker.
Read more >
Microk8s trouble launching local docker image - Stack Overflow
... the container gets restarted, the reasons is that microk8s/kubernetes assumes a there is a problem. That's why there was the crash loop....
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