ceph-csi/vendor/k8s.io/kubernetes/examples/spark/spark-master-controller.yaml
Serguei Bezverkhi 7b24313bd6 vendor files
2018-01-10 13:42:26 -05:00

24 lines
520 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: gcr.io/google_containers/spark:1.5.2_v1
command: ["/start-master"]
ports:
- containerPort: 7077
- containerPort: 8080
resources:
requests:
cpu: 100m