Changes

Jump to navigation Jump to search
m
Local persistent volumes for Tensorboard logging
=== Local persistent volumes for Tensorboard logging ===
The following obtains a persistent volume claim for a local PV for data storage, as well as a PV for Tensorboard logging. Note that both can be done with a single config file. Code examples can be found in the subdirectory "kubernetes/example_3example_2" of the tutorial sample code, [[File:Kubernetes_samples.zip|Kubernetes samples]]. As a first step, run the docker-compose and push the resulting container to the CCU registry, <syntaxhighlight lang="bash">> docker-compose up --build[Wait a bit until the program has started, then ^C]> docker push ccu.uni-konstanz.de:5000/your.username/tf-mnist-tb:0.1</syntaxhighlight> Also, create the Kubernetes scripts as before in the kubernetes subdirectory. Then, check out "pvc.yaml".
<syntaxhighlight lang="yaml">

Navigation menu