exec
Get output from running the ‘date’ command in ruby-container from pod mypod
List contents of /usr from the first container of pod mypod and sort by modification time # If the command you want to execute in the pod has any flags in common (e.g. -i), # you must use two dashes (—) to separate your command’s flags/arguments # Also note, do not surround your command and its flags/arguments with quotes # unless that is how you would execute it normally (i.e., do ls -t /usr, not “ls -t /usr”)
Get output from running ‘date’ command from the first pod of the service myservice, using the first container by default