diff --git a/scripts/install-worker.sh b/scripts/install-worker.sh index 826b28d98..46f39c58a 100644 --- a/scripts/install-worker.sh +++ b/scripts/install-worker.sh @@ -121,6 +121,12 @@ if [[ "$INSTALL_DOCKER" == "true" ]]; then sudo mv $TEMPLATE_DIR/docker-daemon.json /etc/docker/daemon.json sudo chown root:root /etc/docker/daemon.json + # https://github.com/awslabs/amazon-eks-ami/issues/563 + # Due to an issue with the latest containerd, customers are seeing + # pods getting stuck in terminating, so we need to downgrade containerd + # until the issue is fixed upstream or we have another workaround. + sudo yum downgrade -y containerd-1.3.2-1.amzn2 + # Enable docker daemon to start on boot. sudo systemctl daemon-reload sudo systemctl enable docker