Skip to content

Commit

Permalink
bump kernel in AL2 to 5.10 for rest of k8s versions (awslabs#1728)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbaker1 authored and kwoodson committed Mar 19, 2024
1 parent 211bfdf commit 3cf091c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions templates/al2/provisioners/upgrade-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3cf091c

Please sign in to comment.