4 if ! grep "br_netfilter" /proc
/modules
; then
5 echo "Load the br_netfilter kernel module or reboot: modprobe br_netfilter."
7 if [[ $
(swapon
--noheadings |
wc -l) -ne 0 ]]; then
8 echo "WARNING: Disable swap before using kubelet.service."
13 local _changelog_121
="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.21.md#no-really-you-must-read-this-before-you-upgrade"
14 if [[ "$(vercmp "$2" "1.21.0-1")" -lt 0 ]]; then
15 printf "WARNING: Read important changelog notice:\n"
16 printf " %s\n" "${_changelog_121}"