-
Notifications
You must be signed in to change notification settings - Fork 17
/
kube-elasticmq.yaml
68 lines (66 loc) · 1.31 KB
/
kube-elasticmq.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
59
60
61
62
63
64
65
66
67
68
apiVersion: v1
kind: Service
metadata:
name: elasticmq
labels:
role: elasticmq
spec:
type: NodePort
ports:
- port: 9324
name: control
nodePort: 30932
selector:
role: elasticmq
---
kind: ConfigMap
apiVersion: v1
metadata:
name: elasticmq
namespace: default
data:
elasticmq.conf.file: |-
include classpath("application.conf")
// What is the outside visible address of this ElasticMQ node (used by rest-sqs)
node-address {
protocol = http
host = elasticmq
port = 9324
context-path = ""
}
rest-sqs {
enabled = true
bind-port = 9324
bind-hostname = "0.0.0.0"
// Possible values: relaxed, strict
sqs-limits = relaxed
}
---
kind: ReplicationController
apiVersion: v1
metadata:
name: elasticmq
spec:
replicas: 1
template:
metadata:
labels:
name: elasticmq
role: elasticmq
spec:
containers:
- name: elasticmq
image: elasticmq:0.13.2
ports:
- name: control
containerPort: 9324
volumeMounts:
- name: elasticmq-conf
mountPath: /etc/elasticmq
volumes:
- name: elasticmq-conf
configMap:
name: elasticmq
items:
- key: elasticmq.conf.file
path: elasticmq.conf