What is Workload Identity? When running a workload on Kubernetes, each Pod has an underlying service account identity that is used for interacting with the Kubernetes API and resources.
GCP has a similar concept of service accounts as a means for programs to authenticate to Google APIs. To make management of these secrets easier, GCP compute environments provide a mechanism called Application Default Credentials that allows users to map a VM to a particular service account.
So logging in via X11 sucks. The problem with this is that you don’t know where the machine is and what address it is on. There is a way to programmatically find this information, but it relies on you having access to the .vmx file (which we don’t have). This feature is in development, but until then…
Find your VM Your VM can exist on any ilab machine. Let’s find it.
My friend V introduced me to an awesome tool called PDSH. One thing that really bothered me was when logging in to machines that had a message of the day, my screen would be flooded with messages, burying the information I needed.
Here’s how to disable MotD from appearing in the output of PDSH. In your ~/.bashrc include:
export PDSH_SSH_ARGS_APPEND="-oLogLevel=Error"
FAQ What’s a shell? A shell is a way to interact with your operating system via a text based system. This allows you to do useful things like fast searches and scripting. Since it is a minimal interface, it makes it great to use across network connections.
There are many types of shells including bash, csh, tcsh, and zsh.
Shell vs. Terminal People often ask what the difference between a shell and a terminal is.