diff --git a/templates/al2/provisioners/upgrade-kernel.sh b/templates/al2/provisioners/upgrade-kernel.sh index 9b13a18bb..b0abe6e1c 100755 --- a/templates/al2/provisioners/upgrade-kernel.sh +++ b/templates/al2/provisioners/upgrade-kernel.sh @@ -5,11 +5,7 @@ set -o nounset set -o errexit if [[ -z "$KERNEL_VERSION" ]]; then - if vercmp "$KUBERNETES_VERSION" gteq "1.24.0"; then - KERNEL_VERSION=5.10 - else - KERNEL_VERSION=5.4 - fi + KERNEL_VERSION=5.10 echo "kernel_version is unset. Setting to $KERNEL_VERSION based on Kubernetes version $KUBERNETES_VERSION." fi