-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstorm-nimbus.yaml
46 lines (44 loc) · 1.05 KB
/
storm-nimbus.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: v1
kind: Service
metadata:
name: sb-instanceid-stormnb
spec:
selector:
sb-instanceid-storm: nimbus
ports:
- name: storm-nimbus-port
protocol: TCP
port: 6627
---
apiVersion: v1
kind: ReplicationController
metadata:
name: sb-instanceid-stormnb
spec:
replicas: 1
selector:
sb-instanceid-storm: nimbus
template:
metadata:
labels:
sb-instanceid-storm: nimbus
service-broker: sb-instanceid-storm
spec:
containers:
# why call zookeeper here? call nimbus better.
- name: zookeeper
image: http://storm-image-place-holder/storm-openshift-orchestration
imagePullPolicy: IfNotPresent
env:
- name: CONFIGURE_ZOOKEEPER
value: "true"
- name: STORM_CMD
value: "nimbus"
- name: ZK_SERVER_1_SERVICE_HOST
value: "sb-instanceid-zk.local-service-postfix-place-holder"
volumeMounts:
- name: storm-data
mountPath: /opt/apache-storm/storm-local
volumes:
- name: storm-data
emptyDir: {}