Skip to content

Instantly share code, notes, and snippets.

@notiv
Last active January 12, 2016 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notiv/23da1575acbf23780a21 to your computer and use it in GitHub Desktop.
Save notiv/23da1575acbf23780a21 to your computer and use it in GitHub Desktop.
Kubernetes Spark - Modified Zeppelin Controller
kind: ReplicationController
apiVersion: v1
metadata:
name: zeppelin-controller
spec:
replicas: 1
selector:
component: zeppelin
template:
metadata:
labels:
component: zeppelin
spec:
containers:
- name: zeppelin
image: eu.gcr.io/project-spark-k8s-vv2/zeppelin:1.5.1_v2
ports:
- containerPort: 8080
volumeMounts:
- mountPath: "/pd"
name: data-volume
resources:
requests:
cpu: 100m
volumes:
- name: data-volume
gcePersistentDisk:
pdName: spark-disk
fsType: ext4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment