mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-18 04:10:22 +00:00
24 lines
473 B
YAML
24 lines
473 B
YAML
kind: ReplicationController
|
|
apiVersion: v1
|
|
metadata:
|
|
name: spark-worker-controller
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
component: spark-worker
|
|
template:
|
|
metadata:
|
|
labels:
|
|
component: spark-worker
|
|
spec:
|
|
containers:
|
|
- name: spark-worker
|
|
image: k8s.gcr.io/spark:1.5.2_v1
|
|
command: ["/start-worker"]
|
|
ports:
|
|
- containerPort: 8081
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
|