2017-08-30 14:19:17 +08:00
|
|
|
kind: ReplicationController
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
name: zeppelin-controller
|
|
|
|
namespace: spark-cluster
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
component: zeppelin
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
component: zeppelin
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: zeppelin
|
2018-05-04 19:48:54 +08:00
|
|
|
image: harbor-001.jimmysong.io/library/zeppelin:0.7.1
|
2017-08-30 14:19:17 +08:00
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|