Back to Charts

⚠️ Repo Archive Notice

stable/tensorflow-notebook/README.md

latest3.2 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

TensorFlow Notebook Helm Chart

TensorFlow is an open source software library for numerical computation using data flow graphs, and tensorboard is the tool visualizing TensorFlow programs. Using Jupyter notebook to get into TensorFlow and develop models is the great way for data scientist. With these three tools you are able to start your machine learning work in two minutes.

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

Prerequisites

  • Kubernetes cluster v1.8+

Chart Details

This chart will deploy the followings:

  • Jupyter Notebook with TensorFlow
  • Tensorboard

Installing the Chart

  • To install the chart with the release name notebook:

    bash
    $ helm install --name notebook stable/tensorflow-notebook
    
  • To install with custom values via file :

    $ helm install  --values values.yaml  --name notebook  stable/tensorflow-notebook
    

    Below is an example of the custom value file values.yaml with GPU support.

    jupyter:
      image:
        repository: tensorflow/tensorflow
        tag: 1.6.0-devel-gpu
        pullPolicy: IfNotPresent
      password: tensorflow
      resources:
        limits:
          nvidia.com/gpu: 1
      requests:
          nvidia.com/gpu: 1
    tensorboard: 
      image:   
        repository: tensorflow/tensorflow
        tag: 1.6.0-devel
        pullPolicy: IfNotPresent
    service:
      type: LoadBalancer
    

Run TensorFlow Example tensorboard_basic.ipynb

Notice: you should set the log_path /output/training_logs

Check the TensorBoard

Uninstalling the Chart

  • To uninstall/delete the notebook deployment:

    bash
    $ helm delete notebook
    

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Service Tensorflow Development chart and their default values.

ParameterDescriptionDefault
jupyter.image.repositoryTensorFlow Development image repositorytensorflow/tensorflow
jupyter.image.tagTensorFlow Development image tag1.5.0-devel-gpu
jupyter.passwordThe password to access jupytermytest
jupyter.image.pullPolicyimage pullPolicy for the jupyterIfNotPresent
tensorboard.image.repositoryTensorFlow Development image repositorytensorflow/tensorflow
tensorboard.image.tagTensorFlow Development image tag1.5.0-devel-gpu
tensorboard.image.pullPolicyimage pullPolicy for the tensorboardIfNotPresent
resourcesSet the resource to be allocated and allowed for the Pods{}
service.typeservice typeLoadBalancer