0% found this document useful (0 votes)
42 views2 pages

Apache Zeppelin On Google Kubernetes Engine: Set Up

This document provides instructions for setting up Apache Zeppelin on Google Kubernetes Engine (GKE) to create a scalable and reliable publicly accessible web application. Key steps include creating a GKE cluster, deploying a Zeppelin deployment and service, exposing the service port, and deleting the cluster to avoid charges.

Uploaded by

Adil Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views2 pages

Apache Zeppelin On Google Kubernetes Engine: Set Up

This document provides instructions for setting up Apache Zeppelin on Google Kubernetes Engine (GKE) to create a scalable and reliable publicly accessible web application. Key steps include creating a GKE cluster, deploying a Zeppelin deployment and service, exposing the service port, and deleting the cluster to avoid charges.

Uploaded by

Adil Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Apache Zeppelin on Google Kubernetes

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.

kubectl exec -it zep-web-c65ccd4d5-6dm8r bash


apt-get install curl
curl localhost:8080
exit

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.

kubectl get service


You're all set up! Try running a tutorial notebook.

For example, you can create a snowflake jdbc connection!

Stop deployment
Avoid incurring charges by deleteing the service and the cluster.

The cost of running an app with n nodes is $25n/month (n1-standard-1).

kubectl delete service zep-web


gcloud container clusters delete algo-cluster

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy