añadido apolo

This commit is contained in:
2025-08-17 10:15:19 +02:00
parent 2a3067dc0b
commit 31a109fd5c
68 changed files with 2416 additions and 26 deletions

View File

@@ -0,0 +1,48 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: apolo-rabbitmq
namespace: apolo
labels:
app.kubernetes.io/name: apolo-rabbitmq
app.kubernetes.io/part-of: apolo
app.kubernetes.io/component: rabbitmq
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: apolo-rabbitmq
template:
metadata:
labels:
app.kubernetes.io/name: apolo-rabbitmq
app.kubernetes.io/part-of: apolo
app.kubernetes.io/component: rabbitmq
spec:
imagePullSecrets:
- name: harbor-cred
containers:
- name: rabbitmq
image: harbor.c2et.com/xrf-ssl/xrf-rabbitmq:6.0
imagePullPolicy: IfNotPresent
envFrom:
- secretRef:
name: apolo-rabbitmq-secret
ports:
- { name: amqp, containerPort: 5672 }
- { name: mgmt, containerPort: 15672 }
readinessProbe:
tcpSocket: { port: 5672 }
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
tcpSocket: { port: 5672 }
initialDelaySeconds: 30
periodSeconds: 20
volumeMounts:
- name: data
mountPath: /var/lib/rabbitmq
volumes:
- name: data
persistentVolumeClaim:
claimName: apolo-rabbitmq-data