...
The above command will locate the clowder-clowder-* pod and, assuming there is only one, print out the environment variable's from the clowder-clowder container within the pod.
...
The above command will locate the clowder-clowder-* pod and, assuming there is only one, will execute the given command inside of the clowder-clowder container within the pod.
...
A naive script to save some typing whilst debugging service/pods in general, this script will execute an arbitrary command in display the logs from the target container.
Example usage:
. logs.sh clowder-clowder
The above command will locate the clowder-clowder-* pod and, assuming there is only one, will execute the given command inside print out the logs of the clowder-clowder container within the pod.
...