== Accessing ports on the pod from your own system ==
Some monitoring tools for deep learning use ports on the pod to convey information via a browser interface, an example being Tensorboard. You can forward these ports to your own local host using kubectl as a proxy. Follow the [https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/ tutorial here] to learn how it works. ThenSyntax for port-forwarding: <syntaxhighlight>> kubectl port-forward <pod-name> <dest-port>:<source-port></syntaxhighlight> kubectl will now continue running as a proxy. While it is running, you can access the pod services service on "localhost:<dest-port-you-forwarded-to>" in the browser on your own machine. You could even create containers which provide interactive environments via a web interface, e.g. a Jupyter notebook server.