cri-o/vendor/k8s.io/kubernetes/examples/spark/spark-gluster/spark-master-controller.yaml
Mrunal Patel 8e5b17cf13 Switch to github.com/golang/dep for vendoring
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-01-31 16:45:59 -08:00

34 lines
809 B
YAML

kind: ReplicationController
apiVersion: v1
metadata:
name: spark-master-controller
namespace: spark-cluster
labels:
component: spark-master
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
volumeMounts:
- mountPath: /mnt/glusterfs
name: glusterfsvol
resources:
requests:
cpu: 100m
volumes:
- name: glusterfsvol
glusterfs:
endpoints: glusterfs-cluster
path: MyVolume
readOnly: false