简体   繁体   English

Google Kubernetes Engine 中的 Rabbitmq 集群配置

[英]Rabbitmq Cluster configuration in Google Kubernetes Engine

I have installed krew and installed rabbitmq-plugin using the same.我已经安装了 krew 并使用相同的安装了 rabbitmq-plugin。 Using the kubectl rabbitmq -n create instance --image=custom-image:v1 command created a rabbitmq stateful set in my google kubernetes engine cluster.使用 kubectl rabbitmq -n create instance --image=custom-image:v1 命令在我的 google kubernetes 引擎集群中创建了一个 rabbitmq 状态集。

The deployment was successful, but now when I try to update the stateful set with new image custom-image:v2, it is not getting rolled out.部署成功,但现在当我尝试使用新图像 custom-image:v2 更新有状态集时,它没有推出。

Can someone help me here ?有人可以帮我吗?

Thanks & Regards, Robin感谢和问候,罗宾

Normally if you check the statefulSet events you will get a hint on what's going on wrongly.通常,如果您检查 statefulSet 事件,您会得到有关发生了什么错误的提示。 Usually, if the previous version was running, v2 is not reachable or can't be deployed.通常,如果先前版本正在运行,则无法访问或无法部署 v2。

kubectl describe statefulset <statefulSet-name> -n <namespace> 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM