-
Tensorboard controller creates servers that always mount user-gcp-sa secret #5065
-
Tensorboard CR doesn't contain information about the Tensorboard Server being ready or not #5166
-
Add scheduling functionality for Tensorboard servers that use RWO PVCs as log storages #5218
-
Add functionality to inform TWA frontend about the status of Tensorboard servers #5259
Prequisites to build and run the controller:
-
GO
-
Docker
-
kustomize
-
kubectl
Steps:
-
Clone the repository
-
Change directories to
components/tensorboard-controller
-
Generate and install manifests and build the controller:
make install
-
Run the controller locally:
make run
If you want to enable the scheduling functionality for Tensorboard servers that use ReadWriteOnce PVCs as log storages, then set the RWO_PVC_SCHEDULING
to true
and run: RWO_PVC_SCHEDULING="true" make run
-
Clone the repository
-
Change directories to
components/tensorboard-controller
-
Generate and install manifests and build the controller:
make manifests
-
Build and push the docker image:
make docker-build docker-push IMG=YOUR_IMAGE_NAME
-
Deploy the Tensorboard controller:
make deploy IMG=YOUR_IMAGE_NAME
If you want to enable the scheduling functionality for Tensorboard servers that use ReadWriteOnce PVCs as log storages, then:
-
Change directories to
components/tensorboard-controller/config/manager
-
Modify the
manager.yaml
file by navigating to thedeployment.spec.template.spec
field and manually setting the value of theRWO_PVC_SCHEDULING
env var to"true"
in the manager container. -
Run:
make deploy IMG=YOUR_IMAGE_NAME