Google Cloud Platform is a hosting platform by Google which supports a large range of functionality including “bare metal” servers and k8s.

Nvidia Cards

If, after reboot, nvidia cards disappear in nvidia-smi then we might need to rebuild the kernel. Use uname -a to find which kernel we’re running and then apt-get install linux-headers with the corresponding version. Apt should then trigger a DKMS rebuild and the nvidia drivers will be set up.

more info

Docker Auth

Based on this page:

gcloud auth configure-docker
cat service_account.json | docker login -u _json_key --password-stdin https://us.gcr.io
[]()```