microk8s services restarting randomly
See original GitHub issueMy microk8s instance seemed to go unavailable from time to time and now I saw this in the logs:
$ grep Stopping /var/log/syslog
Jul 7 12:03:15 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-containerd...
Jul 7 12:04:15 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-apiserver...
Jul 7 12:04:16 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-proxy...
Jul 7 12:04:16 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-kubelet...
Jul 7 12:04:19 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-containerd...
Jul 7 12:05:19 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-apiserver...
Jul 7 12:05:19 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-proxy...
Jul 7 12:05:19 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-kubelet...
Jul 7 12:43:11 smokey systemd[1]: Stopping User Manager for UID 1000...
Jul 7 12:43:55 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-containerd...
Jul 7 12:44:56 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-apiserver...
Jul 7 12:44:56 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-proxy...
Jul 7 12:44:56 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-kubelet...
Jul 7 12:59:25 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-apiserver...
Jul 7 12:59:25 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-apiserver-kicker...
Jul 7 12:59:25 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-containerd...
Jul 7 12:59:25 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-controller-manager...
Jul 7 12:59:25 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-etcd...
Jul 7 12:59:25 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-kubelet...
Jul 7 12:59:25 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-proxy...
Jul 7 12:59:25 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-scheduler...
Jul 7 14:03:16 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-containerd...
Jul 7 14:03:33 smokey systemd[1]: Stopping User Manager for UID 1000...
Jul 7 14:04:17 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-apiserver...
Jul 7 14:04:17 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-proxy...
Jul 7 14:04:17 smokey systemd[1]: Stopping Service for snap application microk8s.daemon-kubelet...
Systemd restarts the microk8s services randomly. Any idea what’s going on here?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
microk8s services restarting randomly · Issue #534 - GitHub
@andrenarchy microk8s comes with a systemd service apiservice-kicker which detects network changes and then restarts the daemons automatically.
Read more >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 1.21 fails to start after controlled cluster shutdown ...
Hi all, I have a 6-node microk8s cluster that's been running pretty ... Since then, we have been unable to fully restart the...
Read more >MicroK8s networking broke randomly : r/kubernetes - Reddit
Looks like on the first run it is starting up too quickly and never recovers. Once I force it to restart I can...
Read more >microk8s pods are restarting frequently on my raspberry pi ...
MIcroK8s has a service that periodically check for changes on your network, reconfigures and restarts the API server if needed.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@andrenarchy microk8s comes with a systemd service
apiservice-kicker
which detects network changes and then restarts the daemons automatically.You can stop the apiservice-kicker like this.
sudo systemctl stop snap.microk8s.daemon-apiserver-kicker.service
. but this service restarts when there is an upgrade or when you domicrok8s.stop
ormicrok8s.start
.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.