-
Notifications
You must be signed in to change notification settings - Fork 758
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
microk8s restarted without supervision #923
Comments
While I too find it a inconvenient, this is not a bug. microk8s is delivered as a snap package and these are automatically updated by your system: https://snapcraft.io/docs/keeping-snaps-up-to-date#heading--controlling-updates A couple suggestions... Use the stable release channel to reduce the release frequency. Try putting your different nodes on different snap upgrade schedules to allow for more of a rolling upgrade schedule. Scale out your deployments so that losing a node does not impact your application. |
The "stable" channel literally removed docker from the system in the 1.13 - 1.14 upgrade. "We reserve the right to restart your application platform whenever we release." This is an outrageous expectation for software that is used to provide the infrastructure for other running applications. These are not iPhones, we own our hardware and are running open source software, whatever happened to controlling your own system? |
My solution was to maintain a custom build of microk8s and completely remove the canonical/microk8s channel from my production systems. As this is an obvious amount of work to deploy this "fix" I have not rolled it out yet. A custom build should not be a requirement for people who don't want their production systems to restart at unannounced times. |
Hi @termie, If you want a long lasting kubernetes cluster you will have to follow the stable channel of a specific track. For example [1] https://snapcraft.io/docs/keeping-snaps-up-to-date#heading--controlling-updates |
@lazzarello creates a PR for the documentation. It contains a way how to pin the exact version of micro8s. |
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. |
bump, I've been pinning the version for > 1 year now and it's working great. any way that information can get added to the user documentation? |
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. |
When you make a new release, you turn off and on microk8s on my production servers, sometimes breaking it, that seems pretty ridiculous.
Obviously I would like you to keep updating this code, but until this bug is fixed it seems like a pretty risky endeavor.
The text was updated successfully, but these errors were encountered: