利用 Helm 在各类 Kubernetes 中安装 Rainbond

利用 Helm 安装 Rainbond

好雨科技技术团队一直致力于让用户更方便的安装 Rainbond 这款产品。

不久前,我们刚刚推出了在一个容器中部署 Rainbond 的快速安装方式,这种方式覆盖了 WindowsMacOSLinux 三大操作系统,也适用于 x86_64Arm64 两种主流架构。这种安装方式极大的简化了用户操作过程,提升了用户体验。然而这种安装方式受限于单机,仅适用于体验 Rainbond 功能或者个人开发环境,不适合在生产环境中部署。

好雨科技技术团队现已推出了基于 Helm 的安装方式。 Helm 提供了一套简单易用的命令行,借助开发者制作好的 Charts 包完成应用的安装、更新、升级、回滚等操作。Kubernetes 已经成为现代企业 IT 基础设施的事实标准,而 Helm 作为包管理工具适配了市面可见的大多数 Kubernetes 类型,这些类型包括:

  • 使用不同安装工具(如kubeadm、sealos)部署的各种版本的标准 Kubernetes 集群
  • 各大云服务商推出的 Kubernetes 即服务的云产品,如阿里云ACK、腾讯云TKE
  • 基于 Kubernetes 规范实现的其它容器基础设施,如 K3s 、Kubedge

借助 Helm 的广泛适用性,我们期待 Rainbond 获得在各种复杂 Kubernetes 场景中落地生根的能力。

优势

利用 Helm 安装 Rainbond 的安装方式,除去面向不同类型 Kubernetes 的广泛适用性之外,还具备了其它优势。

  • 高度自定义

❝我们将围绕 Rainbond 可以设定的自定义配置,统一通过 values.yaml 配置文件的形式暴露出来。用户可以根据 values.yaml 详解 文档指引,自行调整 Rainbond 安装预定义配置。当用户的 Kubernetes 集群拥有自定义基础设施需要对接时非常有用,比如对接不同的存储、负载均衡、数据库等。以往的安装方式也可以支持这种配置,但是 Helm 安装方式的自定义是最方便合理的。

  • 方便调整集群配置

❝继承自高度自定义的特性,用户可以参考 values.yaml 详解 文档指引,在简单的文件编辑后,通过一条命令完成 Rainbond 集群配置的调整。

  • 明确无误的命令行操作方式

❝相较于以往的图形化安装方式,Helm 安装基于命令行搭配配置文件的方式实现,最大程度的降低了模棱两可的可能性。每一步命令行操作都有明确的返回信息,非常符合系统运维人员的胃口。

适用人群

Helm 安装方式唯一的不足在于对操作人员的技术门槛要求较高,企业 Kubernetes 集群运维管理人员是比较合适的人选。运维管理人员拥有以下特征。

  • 对 Kubernetes 体系有深入的了解

❝使用 Helm 安装应用,需要对 Kubernetes 体系有一定的了解。一旦安装过程中出现问题,则需要操作人员具备调试 Kubernetes 资源的能力。

  • 能够接受命令行交互

❝操作人员与 Helm 之间的交互完全基于命令行的形式完成,没有提供图形化的界面支持。

  • 对 Rainbond 集群有高度自定义的需求

❝操作人员所拥有的 Kubernetes 集群越复杂,则对 Rainbond 的自定义程度要求越高。尤其是在使用不同云服务商的托管 Kubernetes 服务时,如何完美对接围绕集群的其它基础设施非常重要。这些自定义配置会深刻影响到 Rainbond 集群的高可用性和使用体验。

操作流程

利用 Helm 基于已有的 Kubernetes 集群安装 Rainbond,其过程相对而言比较简单,所有操作均基于命令行进行。

环境要求

Helm 版本:3+

Kubernetes 版本: 1.19+

Helm install

  • 创建rbd-system 命名空间
kubectl create namespace rbd-system
  • 添加chart仓库
helm repo add rainbond https://openchart.goodrain.com/goodrain/rainbond
  • 安装ranibond
helm install rainbond rainbond/rainbond-cluster -n rbd-system

values.yaml

用户可以通过创建配置文件 values.yaml 来自定义 Rainbond 集群的配置。最常见的配置项,包括网关节点的选择,以及集群对外网络出口 IP 的配置。

  • 网关节点的选择

❝Kubernetes 集群中至少需要提供一个节点作为 Rainbond 网关节点,Rainbond 网关服务 rbd-gateway 是一种 Ingress-controller 实现,和其它 Ingress-controller 一起工作会导致端口冲突,要求 80、443、6060、7070、8443 空闲。

  • 集群对外网络出口 IP

❝这个配置和网关节点息息相关,在 Kubernetes 集群中运行的业务,需要通过网关节点对外暴露服务地址,无论是基于 Http 还是 Tcp,最终都会映射为一个 IP 地址。这一 IP 有可能是网关节点所在服务器映射到公网的 IP 地址,也有可能是网关节点以外的负载均衡工作的 IP 地址,通过端口映射 80、443。如果不进行设置,默认选择网关节点的内网 IP 地址。

配置的方式,则是进行简单的文件编辑:

cat > values.yaml << EOF
Cluster:
# 对外网关,填写IP
  gatewayIngressIPs: 47.104.1.82  
# 网关节点对应配置,externalIP为网关节点外部IP,internalIP为网关节点内部IP,name为网关节点node名称
  nodesForGateway:
  - externalIP: 47.104.1.82
    internalIP: 192.168.0.1
    name: node1
EOF

生成配置文件后,在安装 Rainbond 时引用该配置文件:

helm install rainbond rainbond/rainbond-cluster -f values.yaml -n rbd-system

❝参考 values.yaml 详解 了解更多自定义配置项,以及如何为已有 Rainbond 集群变更配置。 参考 helm 安装卸载指南 来卸载基于 Helm 安装的 Rainbond 集群。 安装过程中出现问题,参考 helm 安装问题排查指南 进行问题排查。

关于Rainbond

Rainbond 是一个开源的云原生应用管理平台,使用简单,不需要懂容器和Kubernetes,支持管理多个Kubernetes集群,提供企业级应用的全生命周期管理,功能包括应用开发环境、应用市场、微服务架构、应用持续交付、应用运维、应用级多云管理等。

🌟 Github:https://github.com/goodrain/rainbond

😊 官网:https://www.rainbond.com

😉 微信群:关注 Rainbond 公众号加入技术交流群

🤔 钉钉群:请搜索钉钉群号 31096419

K8S中文社区微信公众号

评论 6

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

    Joe Engressia Thank you for Helping me in changing my grade and credit score in good shape, Now am a graduate finally, reach out to him of you need his service related to hacking service, His a very good one. reach him here
    DIGITALDAWGPOUNDHACKERGROUP@GMAIL.COM
    whatsapp no. : +1 732 639 1527

    Ivan Jefferey4个月前 (10-14)回复
  2. #5

    People find it hard to stay committed again. It’s becoming a difficult thing. Getting information & data you need is quite not a big deal. Sometimes the truth needs to be unveiled by whatsoever means necessary. The latter of the case should always be reckoned with, of which it would be known eventually what would be the data at hand afterwards. definitely contact Thomas would do justice on this intercepting with wares and you will have me to thank later.
    I finally caught him red handed…
    They also have a refund policy if you wish not to go further with your job.
    Contact him via
    Email; tomcyberghost@gmail.com Text/Call +17207941811, WhatsApp +1 3047457645

    Tested and trusted.

    florence jenny3个月前 (10-25)回复
  3. #4

    I was able to catch my cheating husband red handed with a lady he has been having a love affair with and this was made possible by Fred hacker that I met through a comment posted by Kimberly Jane on Reddit about his good and professional services. I started getting suspicious of my husband since he became too possessive of his phone which wasn’t the way he did prior before now. He used to be very carefree when it comes to his phone. but now he’s become obsessed and overtly possessive. I knew something was wrong somewhere which was why i did my search for a professional hacker online and contacted the hacker for help so he could penetrate his phone remotely and grant me access to his phones operating system, he got the job done perfectly without my husband knowing about it although it came quite expensive more than i thought of.i was marveled at the atrocities my husband has been committing. Apparently he is a chronic cheat and never really ended things with his ex.. contact him here. Fredvalcyberghost@gmail.com and you can text, call him on +14236411452 and you can WhatsApp him on +15177981808.

    Monica Regina3个月前 (10-28)回复
  4. #3

    My husband has been frequently deleting all messages for the last couple of days from his phone and he didn’t know i was peeping at him, then i asked him why he was deleting all messages from his phone but he claimed that his phone memory was full and needed more space. Immediately I went in search of a hacker who can get me deleted information and contents from my husband’s phone and luckily for me i came across this reputable ethical hacker Me Fred, this hacker got the job done for me and provided me with results and i saw that my husband has been lying to me. He was simply deleting all pictures, call logs, chats and text messages between him and his secret lover so i wont get to see what he has been doing at my back. Thank God for reputable hackers who are ready to help. I must say am really impressed with the services i got from The hacker Detective and am here to say a very big thank you: contact him on fredvalcyberghost@gmail.com and you can text, call him on +;;1- (;;4;;23)641 1452 and whatsapp him on +15177981808

    Stephanie Duran3个月前 (10-28)回复
  5. #2

    Tracking cellphones and getting an accurate report has been a bit worrisome, thanks to Jeffrey whose service helped me locate certain cellphones without breaking a sweat. His service made me know that the internet has become the most common method of cheating nowadays, either emotionally or physically. Taking a few extra steps in getting what would serve as proof for leaving a toxic relationship, to see who your spouse texts or chats with on social media isn’t a bad idea, I’d recommend you reach out to Jeffreyethicalhacker@gmail.com
    Text,call or whatsapp on: +1 (747)345-9036
    GYUHJI

    dda liey5542个月前 (11-23)回复
  6. #1

    Imagine losing your life savings of almost half a million dollars to a group of African scammers thinking you are going to earn more from cryptocurrency investment, that would have been disaster but Cyber Genie made that not to happen thereby rescuing me from life of torture and regrets that could have led to suicide. Don’t ever give up on trying to recover your lost investment to those African crooks, write them on [Cybergenie AT cyberservices .com] Whatspp [+1-252-512-0391]

    Fernando2个月前 (11-27)回复