notebooks/components/tensorboard-controller
apoger 46f14d4e97 Use K8s 1.25 for the tests (kubeflow/kubeflow#6751)
* kind: Introduce config file for 1.25

* Add a new KinD configuration file for testing with K8s 1.25.3
* Install kind v0.17.0 for testing with K8s 1.25.3

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

* gh-actions: Use 1.25 for testing

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

* testing: Install Istio 1.16 for testing

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

* Test commit for enabling the tests

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

* notebook-controller: Fix Makefile

Remove the test rule as a prerequisite for running docker-build

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>
2022-11-24 08:30:10 +00:00
..
api/v1alpha1 Upgrade API version of `Tensorboard` CRD to `v1` (kubeflow/kubeflow#6406) 2022-06-17 09:20:10 +00:00
config Use K8s 1.25 for the tests (kubeflow/kubeflow#6751) 2022-11-24 08:30:10 +00:00
controllers tensorboard-controller: Fix tensorboard endless restarts (kubeflow/kubeflow#6722) 2022-11-09 10:54:39 +00:00
hack Upgrade API version of `Tensorboard` CRD to `v1` (kubeflow/kubeflow#6406) 2022-06-17 09:20:10 +00:00
.dockerignore Upgrade API version of `Tensorboard` CRD to `v1` (kubeflow/kubeflow#6406) 2022-06-17 09:20:10 +00:00
.gitignore Upgrade API version of `Tensorboard` CRD to `v1` (kubeflow/kubeflow#6406) 2022-06-17 09:20:10 +00:00
Dockerfile updated compatible base images & removed arch dependencies in different components for multiple arch support (kubeflow/kubeflow#6650) 2022-11-23 13:42:42 +00:00
Makefile Introduce a mechanism to build all Kubeflow images (kubeflow/kubeflow#6555) 2022-07-01 17:54:06 +00:00
OWNERS Add OWNERs file to tensorboard controller (kubeflow/kubeflow#5088) 2020-08-07 06:32:19 -07:00
PROJECT Upgrade API version of `Tensorboard` CRD to `v1` (kubeflow/kubeflow#6406) 2022-06-17 09:20:10 +00:00
README.md Add RWO_PVC_SCHEDULING env var to the Tensorboard Controller deployment (kubeflow/kubeflow#5266) 2020-08-31 08:12:21 -07:00
go.mod Upgrade API version of `Tensorboard` CRD to `v1` (kubeflow/kubeflow#6406) 2022-06-17 09:20:10 +00:00
go.sum Upgrade API version of `Tensorboard` CRD to `v1` (kubeflow/kubeflow#6406) 2022-06-17 09:20:10 +00:00
main.go Upgrade API version of `Tensorboard` CRD to `v1` (kubeflow/kubeflow#6406) 2022-06-17 09:20:10 +00:00
skaffold.yaml Fix docker builds of notebook and tensorboard controller (kubeflow/kubeflow#4664) 2020-01-21 17:54:34 -08:00

README.md

GSoC 2020 - TENSORBOARD CONTROLLER

Prequisites to build and run the controller:

  1. GO

  2. Docker

  3. kustomize

  4. kubectl

RUN TENSORBOARD CONTROLLER LOCALLY

Steps:

  1. Clone the repository

  2. Change directories to components/tensorboard-controller

  3. Generate and install manifests and build the controller: make install

  4. 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

  1. Clone the repository

  2. Change directories to components/tensorboard-controller

  3. Generate and install manifests and build the controller: make manifests

  4. Build and push the docker image: make docker-build docker-push IMG=YOUR_IMAGE_NAME

  5. 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:

  1. Change directories to components/tensorboard-controller/config/manager

  2. 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.

  3. Run: make deploy IMG=YOUR_IMAGE_NAME