mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
24 lines
506 B
YAML
24 lines
506 B
YAML
kind: ReplicationController
|
|
apiVersion: v1
|
|
metadata:
|
|
name: spark-master-controller
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
component: spark-master
|
|
template:
|
|
metadata:
|
|
labels:
|
|
component: spark-master
|
|
spec:
|
|
containers:
|
|
- name: spark-master
|
|
image: k8s.gcr.io/spark:1.5.2_v1
|
|
command: ["/start-master"]
|
|
ports:
|
|
- containerPort: 7077
|
|
- containerPort: 8080
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|