A collection of utility scripts for Kubernetes and system administration.
A comprehensive script that checks for system updates requiring a reboot on Ubuntu systems.
Features:
- β
Checks
/var/run/reboot-required.pkgsfor definitive reboot requirements - π§ Lists kernel-related updates (
linux-image,linux-headers, etc.) - π Shows critical system library updates (
libc6,glibc,systemd) - π Displays available security updates
- π Uses
needrestart(if installed) to show services needing restart and kernel status - π Provides a clean, color-coded summary
Usage:
./check-reboot-updates.shRequirements:
- Ubuntu/Debian-based system
- Optional:
needrestartpackage for detailed service restart informationsudo apt install needrestart
This repository uses main as the default branch.
Remote: https://github.com/devopsabcs-engineering/k8s-tools.git