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
BUILD TENSORBOARD CONTROLLER IMAGE AND DEPLOY TO CLUSTER
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 the deployment.spec.template.spec field and manually setting the value of the RWO_PVC_SCHEDULING env var to "true" in the manager container.
Package v1alpha1 contains API Schema definitions for the tensorboard v1alpha1 API group +kubebuilder:object:generate=true +groupName=tensorboard.kubeflow.org
Package v1alpha1 contains API Schema definitions for the tensorboard v1alpha1 API group +kubebuilder:object:generate=true +groupName=tensorboard.kubeflow.org