I'm running a Debian instance on GCE and want to prevent kernel updates as I don't want to have to reboot the instance unnecessarily.
I know that I can use sudo apt-mark hold package_name
to stop kernel updates on the instance, but I don't know if it's safe to do this. For example, does using the above command on GCE instances have any unintended consequences, such as cascading dependencies, or causing issues with the parent server, for example when Google automatically moves an instance to a new zone for maintenance reasons. Thanks.