在Rainbond中一键部署高可用 EMQX 集群

本文描述如何通过云原生应用管理平台 Rainbond 一键安装高可用 EMQX 集群。这种方式适合不太了解 Kubernetes、容器化等复杂技术的用户使用,降低了在 Kubernetes 中部署 EMQX 的门槛。

一、背景信息

1.1 Rainbond 与 EMQX 的结合

Rainbond 是一款易于使用的开源云原生应用管理平台。借助于它,用户可以在图形化界面中完成微服务的部署与运维。借助 Kubernetes 和容器化技术的能力,将故障自愈、弹性伸缩等自动化运维能力赋能给用户的业务。

这类用户不必再关心如何部署 EMQX 集群,通过开源应用商店一键安装 EMQX 高可用集群,这种安装方式极大的降低了用户使用 EMQX 集群的部署负担,目前支持最新版本 4.4.3

1.2 关于应用模版

应用模版是面向 Rainbond 云原生应用管理平台的安装包,用户可以基于它一键安装业务系统到自己的 Rainbond 中去。无论这个业务系统多么复杂,应用模版都会将其抽象成为一个应用,裹挟着应用内所有组件的镜像、配置信息以及所有组件之间的关联关系一并安装起来。

二、前提条件

  • 部署好的 Rainbond 云原生应用管理平台:例如 快速体验版本,可以在个人 PC 环境中以启动一个容器的代价运行。
  • 可以连接到互联网。

三、快速开始

3.1 访问内置的开源应用商店

选择左侧的 「应用市场」 标签页,在页面中切换到 「开源应用商店」 标签页,搜索关键词 「EMQX」 即可找到 EMQX 应用。

3.2 一键安装

点击 EMQX 右侧的 「安装」 可以进入安装页面,填写简单的信息之后,点击 「确定」 即可开始安装,页面自动跳转到拓扑视图。

参数说明:

选择项 说明
团队名称 用户自建的工作空间,以命名空间隔离
集群名称 选择 EMQX 被部署到哪一个 K8s 集群
选择应用 选择 EMQX 被部署到哪一个应用,应用中包含有若干有关联的组件
应用版本 选择 EMQX 的版本,目前可选版本为 4.4.3

等待几分钟后,EMQX 集群就会安装完成,并运行起来。

3.3 验证 EMQX 集群

  • 通过 Dashboard 验证查看集群节点。访问组件 EMQX_Cluster-4.4.318083 端口的对外服务域名,即可登录 EMQX Dashboard,在首页 Nodes 展示所有节点都处于 Running 状态。

    ❝默认账户密码: admin/public ,可通过环境变量修改 EMQX_DASHBOARD__DEFAULT_USERNAME EMQX_DASHBOARD__DEFAULT_PASSWORD

  • 通过命令行查看集群节点,进入组件 EMQX_Cluster-4.4.3 的Web终端,选择任意一个实例,执行以下命令:
emqx_ctl cluster status
K8S中文社区微信公众号

评论 2

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #2

    I’m excited to write about Henry Hacker, he is a great and brilliant hacker who penetrated my spouse’s phone without a physical installation app. And I was able to access my spouse’s phone, SMS, Whatsapp, Instagram, Facebook, Wechat, Snapchat, Call Logs, Kik, Twitter and all social media. The most amazing thing there is that he restores all phone deleted text messages. And I also have access to everything including the phone gallery without touching the phone.I can see the whole secret of my spouse. Contact him for any hacking service. He is also a genius in repairing Credit Score, increasing school grade, Clear Criminal Record etc. His service is fast. Contact on: Henryclarkethicalhacker@gmail.com and you can text, call him on whatsapp him on +18134211326…

    Eliott Sharon2周前 (09-19)回复
  2. #1

    Hello Guys, I just completed my divorce with my cheating husband of 10 years with two beautiful kids when i got a solid evidence of his unfaithfulness on extra marital affairs and his infidelity lifestyle, And the various applications he used to hide chats and lot of secret on his cell phone. Then, i decided to hire (Henry clark) an hacker and a PI just to be 100% sure because i don’t want to confront him or take any kinda step without proof, fact and figures because that could leads to defamation… It was with this great, honest, professional and trustworthy Man i got to know my husband is a professional cheater and has been using this app to hide most of his chats. This great hacker helped me broke to into his cell phone activities and wired everything he does on his cell phone directly to my phone and i was able to monitor and track him directly from my phone remotely without him knowing,
    Contact the Ethical hacker via email, Henryclarkethicalhacker@gmail.com you can also reach him on Whatsapp 18134211326..

    Steve Jenna2周前 (09-19)回复