我正在使用 Bitnami chart 在 Kubernetes 集群中运行 RabbitMQ。它经常崩溃,原因仅仅是“已完成”。在迁移到 k8s 之前,Rabbit 是我们基础设施的关键部分之一,运行良好。现在它无法可靠地运行。
- Kube 集群版本:(
1.28.2-do.0
在 Digital Ocean 中运行) - Helm 图表:bitnamicharts/rabbitmq
- 图表版本:
12.14.0
- Helm 版本:
v3.14.1
用过的values.yaml
# Configure auth to keep same password and use different username
auth:
username: rabbit
existingPasswordSecret: rabbitmq-credentials
metrics:
enabled: true
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
resources:
requests:
cpu: 1
memory: 512Mi
limits:
cpu: 2
memory: 2048Mi
安装命令
helm upgrade --install rabbitmq -n utils --values values.yml oci://registry-1.docker.io/bitnamicharts/rabbitmq --version 12.14.0
kubectl get pod
rabbitmq-0 0/1 Completed 0 41h
kubectl describe po rabbitmq-0
State: Terminated
Reason: Completed
Exit Code: 0
Started: Tue, 19 Mar 2024 19:04:50 +0000
Finished: Tue, 19 Mar 2024 20:33:22 +0000
kubectl logs rabbitmq-0
unable to retrieve container logs for containerd://3000a11229497c5441483040153f2d07bde0b4aaca472486a09241c3d37002f6
kubectl get events
No resources found in traders-utils namespace.
什么地方出了问题?