Last active
January 12, 2016 18:10
-
-
Save notiv/23da1575acbf23780a21 to your computer and use it in GitHub Desktop.
Kubernetes Spark - Modified Zeppelin Controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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