Skip to content

Commit

Permalink
Add bootstrap helper for GPU AMI (#1754)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermckinnon authored Apr 5, 2024
1 parent 82ec420 commit f55411c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/al2/runtime/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,15 @@ Environment='KUBELET_EXTRA_ARGS=$KUBELET_EXTRA_ARGS'
EOF
fi

# WARNING: this implementation detail is subject to change!
# Do not use this as a way to inject behavior into this script
BOOTSTRAP_GPU_HELPER=/etc/eks/bootstrap-gpu.sh
if [ -x "${BOOTSTRAP_GPU_HELPER}" ]; then
log "INFO: starting GPU bootstrap helper..."
"${BOOTSTRAP_GPU_HELPER}"
log "INFO: completed GPU bootstrap helper!"
fi

systemctl daemon-reload
systemctl enable kubelet
systemctl start kubelet
Expand Down

0 comments on commit f55411c

Please sign in to comment.