Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3840

Zeppelin on Kubernetes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None

    Description

       

      Goal

      Make Zeppelin run on Kubernetes environment.

       - Run Zeppelin daemon as a Deployment, with RBAC to create/delete Pods for interpreters

       - Run Standard interpreters as Pods 

       - Run Spark interpreter with Spark Cluster deployed in Kubernetes cluster.

      How it works

      1. Zeppelin-daemon is deployed in Kubernetes with necessary Role (RBAC).
        e.g. kubectl apply -f ${ZEPPELIN_HOME}/k8s/zeppelin.yaml
      2. Zeppelin-daemon automatically configure itself to use K8sStandardInterpreterLauncher, K8sSparkInterpreterLauncher instead of StandardInterpreterLauncher, SparkInterpreterLauncher.
        1. K8sStandardInterpreterLauncher run an interpreter as a Pod
        2. K8sSparkInterpreterLauncher run spark interpreter with Spark cluster in the Kubernetes cluster.

      So user can start to use Zeppelin on Kubernetes with zero configuration.

       

      Customize the interpreter pod

      User can easily modify, extend zeppelin.yaml as their needs. (like mount volume to persist configuration and notebook, etc) To provide the same customization capability to interpreter pod, Zeppelin stores interpreter pod spec (yaml) files in the directory "${ZEPPELIN_HOME}/k8s/interpreter/", and all yaml files in the directory. So user can modify pod spec file or add more.

      Spark interpreter in Kubernetes

      Spark Interpreter not only runs itself in Kubernetes as a Pod, but also creates Spark cluster. Spark-summit can deploy spark cluster as well in Kubernetes. see https://spark.apache.org/docs/2.3.0/running-on-kubernetes.html. Also there's a PR we can check https://github.com/apache/zeppelin/pull/2637.

       

       

      Attachments

        Issue Links

          Activity

            People

              moon Lee Moon Soo
              moon Lee Moon Soo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m