-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivemq-artemis-dev.yaml
More file actions
65 lines (65 loc) · 1.32 KB
/
activemq-artemis-dev.yaml
File metadata and controls
65 lines (65 loc) · 1.32 KB
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
apiVersion: v1
kind: Namespace
metadata:
name: activemq
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: activemq-artemis
namespace: activemq
labels:
app: activemq-artemis
spec:
replicas: 1
selector:
matchLabels:
app: activemq-artemis
template:
metadata:
labels:
app: activemq-artemis
spec:
containers:
- name: artemis
# official Apache image on Docker Hub
image: apache/activemq-artemis:2.17.0
imagePullPolicy: IfNotPresent
ports:
- name: amqp
containerPort: 5672
- name: core
containerPort: 61616
- name: http
containerPort: 8161
env:
- name: ARTEMIS_USERNAME
value: "admin"
- name: ARTEMIS_PASSWORD
value: "admin"
# keep it simple for dev — remove liveness/readiness if you want to iterate fast
readinessProbe:
tcpSocket:
port: 61616
initialDelaySeconds: 10
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: activemq-artemis
namespace: activemq
spec:
type: ClusterIP
selector:
app: activemq-artemis
ports:
- name: core
port: 61616
targetPort: 61616
- name: http
port: 8161
targetPort: 8161
- name: amqp
port: 5672
targetPort: 5672