</syntaxhighlight>
Note that there are timeouts in place - this is a demo pod which runs only for 24 hours and an interactive session does not last foreveralso has a time limit, so it is better to build a custom run script which is executed when the container in the pod starts. See the Kubernetes documentation on pods and jobs for more details. TODO: link to respective doc.
If you do not have your code ready, you can do a quick test if GPU execution works by running demo code from [https://github.com/dragen1860/TensorFlow-2.x-Tutorials this tutorial] as follows: