Skip to content

Commit

Permalink
Update gpu remediation (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
Secretions authored Feb 4, 2023
1 parent a528d9a commit 462a736
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cdk/domino_cdk/provisioners/eks/eks_nodegroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,7 @@ def _handle_user_data(
ec2.MultipartBody.from_user_data(
ec2.UserData.custom(
'EKS_CONTAINERD_CFG="/etc/eks/containerd/containerd-config.toml"\n'
'if [ -z "$(egrep \'certs\.d\' $EKS_CONTAINERD_CFG)" ]; then\n'
' if [ -n "$(egrep \'plugins\.cri\.containerd\.runtimes\.nvidia\' $EKS_CONTAINERD_CFG)" ]; then\n'
' printf \'\n\n[plugins.cri.registry]\nconfig_path = "/etc/containerd/certs.d:/etc/docker/certs.d"\n\' >> $EKS_CONTAINERD_CFG\n'
' fi\n'
'fi\n'
"sed -i 's/plugins\.\"io.containerd.grpc.v1.cri\"\.registry/plugins.cri.registry/' $EKS_CONTAINERD_CFG\n"
)
)
)
Expand Down

0 comments on commit 462a736

Please sign in to comment.