Skip to content

Commit

Permalink
chore(awslabs#1791): added a check if kubelet started
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNabokikh committed May 13, 2024
1 parent 0794b14 commit 4e7f62d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/al2/runtime/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,11 @@ systemctl daemon-reload
systemctl enable kubelet
systemctl start kubelet

if ! systemctl is-active --quiet kubelet; then
log "ERROR: kubelet failed to start"
exit 1
fi

# gpu boost clock
if command -v nvidia-smi &> /dev/null; then
log "INFO: nvidia-smi found"
Expand Down

0 comments on commit 4e7f62d

Please sign in to comment.