Port Spark template from Helm to K8s templates

This is a simple port of the helm template of spark.
This commit is contained in:
Bill Maxwell
2016-03-28 19:43:04 -07:00
committed by Bill Maxwell
parent 098ac997b9
commit 93a816353a
10 changed files with 160 additions and 0 deletions
@@ -0,0 +1,25 @@
kind: ReplicationController
apiVersion: v1
metadata:
name: zeppelin-controller
labels:
heritage: helm
provider: spark
spec:
replicas: 1
selector:
component: zeppelin
template:
metadata:
labels:
component: zeppelin
spec:
containers:
- name: zeppelin
image: gcr.io/google_containers/zeppelin:v0.5.5_v2
ports:
- containerPort: 8080
resources:
requests:
cpu: 100m