forked from cherry4477/datafoundry_servicebroker_openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
storm-external-nimbus.yaml
58 lines (56 loc) · 1.46 KB
/
storm-external-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
47
48
49
50
51
52
53
54
55
56
57
58
apiVersion: v1
kind: Service
metadata:
name: sb-instanceid-sn
spec:
selector:
sb-instanceid-storm: nimbus
ports:
- protocol: TCP
port: 6627
name: storm-nimbus-port
type: NodePort
---
apiVersion: v1
kind: ReplicationController
metadata:
name: sb-instanceid-sn
spec:
replicas: 1
selector:
sb-instanceid-storm: nimbus
template:
metadata:
labels:
sb-instanceid-storm: nimbus
service-broker: sb-instanceid-storm
spec:
containers:
- name: nimbus
image: http://storm-image-place-holder/storm-openshift-orchestration
imagePullPolicy: IfNotPresent
ports:
- containerPort: 6627
env:
- name: CONFIGURE_ZOOKEEPER
value: "true"
- name: STORM_CMD
value: "nimbus"
- name: ZK_SERVER_1_SERVICE_HOST
value: "external-zookeeper-server1*****"
- name: ZK_SERVER_2_SERVICE_HOST
value: "external-zookeeper-server2*****"
- name: ZK_SERVER_3_SERVICE_HOST
value: "external-zookeeper-server3*****"
- name: APACHE_STORM_ZK_ROOT
value: "zk-root*****"
- name: APACHE_STORM_NIMBUS_SERVICE_HOST
value: "storm-local-hostname*****"
- name: APACHE_STORM_NIMBUS_SERVICE_PORT
value: "thrift-port*****"
volumeMounts:
- name: storm-data
mountPath: /opt/apache-storm/storm-local
volumes:
- name: storm-data
emptyDir: {}