Skip to content

Commit

Permalink
Add rabbitmq service #53
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Jan 24, 2024
1 parent 700996a commit 44ee536
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .k8s/rabbitmq-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yaml
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: rabbitmq
name: rabbitmq
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: rabbitmq
strategy: {}
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yaml
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.network/typescript-ddd-cqrs-default: "true"
io.kompose.service: rabbitmq
spec:
containers:
- env:
- name: RABBITMQ_DEFAULT_PASS
- name: RABBITMQ_DEFAULT_USER
image: rabbitmq:3.12-management
name: rabbitmq
ports:
- containerPort: 5672
hostPort: 5630
protocol: TCP
- containerPort: 15672
hostPort: 8090
protocol: TCP
resources: {}
restartPolicy: Always
status: {}
22 changes: 22 additions & 0 deletions .k8s/rabbitmq-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yaml
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: rabbitmq
name: rabbitmq
spec:
ports:
- name: "5630"
port: 5630
targetPort: 5672
- name: "8090"
port: 8090
targetPort: 15672
selector:
io.kompose.service: rabbitmq
status:
loadBalancer: {}

0 comments on commit 44ee536

Please sign in to comment.