Upgrading EKS 1.23 to 1.24
Using reduced permissions mode, you must manually delete some entries in the AWS CloudFormation template during the EKS 1.23 to 1.24 upgrade.
- In Environments, find your enviroment, and click Upgrade.
-
Click the CloudFormation Stack Update link.
- Edit template in designer.
-
In the CloudFormation template, find and delete all entries
--feature-gates=DynamicKubeletConfig=true
. -
If you use NTP (Network Time Protocol), replace the ProxyData section with the
following code:
ProxyData: Value: | #!/bin/bash set -x # Create the containerd and sandbox-image systemd directory mkdir -p /etc/systemd/system/containerd.service.d mkdir -p /etc/systemd/system/sandbox-image.service.d #Configure yum to use the proxy cloud-init-per instance yum_proxy_config cat << EOF >> /etc/yum.conf proxy=$PROXY EOF #Set the proxy for future processes, and use as an include file cloud-init-per instance proxy_config cat << EOF >> /etc/environment http_proxy=$PROXY https_proxy=$PROXY HTTP_PROXY=$PROXY HTTPS_PROXY=$PROXY no_proxy=$NOPROXY NO_PROXY=$NOPROXY EOF set -a source /etc/environment #Configure containerd with the proxy cloud-init-per instance containerd_proxy_config tee <<EOF /etc/systemd/system/containerd.service.d/http-proxy.conf >/dev/null [Service] EnvironmentFile=/etc/environment EOF # Configure sandbox-image with the proxy cloud-init-per instance sandbox-image_proxy_config tee <<EOF /etc/systemd/system/sandbox-image.service.d/http-proxy.conf >/dev/null [Service] EnvironmentFile=/etc/environment EOF # Configure the kubelet with the proxy cloud-init-per instance kubelet_proxy_config tee <<EOF /etc/systemd/system/kubelet.service.d/proxy.conf >/dev/null [Service] EnvironmentFile=/etc/environment EOF # Reload the daemon/containerd to reflect proxy configuration at launch of instance cloud-init-per instance reload_daemon systemctl daemon-reload cloud-init-per instance reload_containerd systemctl restart --now --no-block containerd