Apache Zeppelin On Google Kubernetes Engine: Set Up
Apache Zeppelin On Google Kubernetes Engine: Set Up
Engine
Summary
Apache Zeppelin is an open source platform for doing all sorts of things. It follows a Jupyter
Notebook style layout. The value that Zeppelin adds is the utility of various intepreters. An
Interpreter changes the language of the block. Common interpretors are %python, %sql and %md
(markdown). You can create your own too, e.g. %snowflake.
Introduction
We will achieve this using Google Kubernetes Engine. The advantage of using GKE is that we can
have a public web based solution with the reliability and scalability of Kubernetes.
Instructions
In UI create project algo and get the project-id. You will be prompted at some point to enable K8s
API & billing.
Set Up
gcloud config set project algo-260701
gcloud config set compute/zone europe-west2
glcoud container clusters create algo-cluster--num-nodes=1
Create Deployment
kubectl create deployment zep-web --image=apache/zeppelin:0.7.2
kubectl get pods
kubectl describe pod zep-web-c65ccd4d5-6dm8r
Keep describing the pod until it’s running. Then execute the following to check that everything is
healthy.
Expose Port
kubectl expose deployment zep-web --type=LoadBalancer --port 80
--target-port 8080
Run this until you get the EXTERNAL_IP of the load balancer! Then open in your browser.
Stop deployment
Avoid incurring charges by deleteing the service and the cluster.