Skip to content

Commit

Permalink
Introduce rabbitmq
Browse files Browse the repository at this point in the history
  • Loading branch information
ipdae committed Feb 21, 2025
1 parent 19bbdd1 commit adc2d62
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
27 changes: 27 additions & 0 deletions 9c-internal/common-dbs/rabbitmq-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: rabbitmq
app.kubernetes.io/instance: common-dbs
name: rabbitmq
namespace: common-dbs
spec:
replicas: 1
selector:
matchLabels:
app: rabbitmq
template:
metadata:
labels:
app: rabbitmq
spec:
containers:
- name: rabbitmq
image: rabbitmq:3-management
ports:
- containerPort: 5672
- containerPort: 15672
restartPolicy: Always
strategy:
type: RollingUpdate
21 changes: 21 additions & 0 deletions 9c-internal/common-dbs/rabbitmq-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: common-dbs
name: rabbitmq
namespace: common-dbs
spec:
internalTrafficPolicy: Cluster
ports:
- name: service
port: 5672
protocol: TCP
targetPort: 5672
- name: management
port: 15672
protocol: TCP
targetPort: 15672
selector:
app: rabbitmq
type: LoadBalancer

0 comments on commit adc2d62

Please sign in to comment.