forked from douglascase/JenkinsDocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s_activemq.yaml
44 lines (44 loc) · 855 Bytes
/
k8s_activemq.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
apiVersion: v1
kind: Service
metadata:
name: servico-activemq
spec:
type: LoadBalancer
ports:
- port: 8161
name: ui
- port: 61613
name: stomp
- port: 61616
name: tcp
nodePort: 31000
- port: 8080
name: http
nodePort: 31100
- port: 8081
name: tls
selector:
name: activemq-pod
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: activemq-deployment
spec:
selector:
matchLabels:
name: activemq-pod
template:
metadata:
labels:
name: activemq-pod
spec:
containers:
- name: container-activemq
image: douglassouza93/activemq-http:v2
ports:
- containerPort: 8080
- containerPort: 8081
- containerPort: 8161
- containerPort: 61616
- containerPort: 61613