I configured a Kubernetes cluster with GPU in AWS, and one of the steps is configuring the nodes to enable Nvidia runtime by default.
So when I configured cluster auto scaler, the cluster scales up successfully but the new node still needs to be configured to use Nvidia as a default runtime.
My goal is to configure this step automatically, I wonder if there is a way to do this with Kubernetes, like specifying the commands to execute in startup in the instance group. (just like in GCP where you are able to define a startup script or in AWS called a user data for launching scripts).
Thanks!