utilize Helm install Rainbond
Haoyu technology team has been committed to making it easier for users to install Rainbond This product .
not long ago , We've just introduced deploying in one container Rainbond Of Fast installation The way , This way covers Windows、MacOS、Linux Three operating systems , Can also be applied to x86_64 、Arm64 Two mainstream architectures . This installation method greatly simplifies the user's operation process , Improved user experience . However, this installation method is limited to a single machine , For experience only Rainbond Function or personal development environment , Not suitable for deployment in a production environment .
Haoyu technology and technology team has launched a platform based on Helm Installation method of . Helm Provides a simple set of commands , With the help of developers Charts The package completes the installation of the application 、 to update 、 upgrade 、 Rollback and other operations .Kubernetes Has become a modern enterprise IT De facto standards for infrastructure , and Helm As a package management tool, it adapts to most of the Kubernetes type , These types include :
- Use different installation tools ( Such as kubeadm、sealos) Various versions of standards deployed Kubernetes colony
- Launched by major cloud service providers Kubernetes As a service cloud product , Such as ali cloud ACK、 Tencent cloud TKE
- be based on Kubernetes Other container infrastructure implemented by the specification , Such as K3s 、Kubedge
With the help of Helm Wide applicability of , We are looking forward to Rainbond Get in a variety of complex Kubernetes Ability to take root in the scene .
advantage
utilize Helm install Rainbond Installation method of , Remove targeting different types Kubernetes Beyond the wide applicability of , There are other advantages .
- Highly customized
We will be around Rainbond Custom configuration that can be set , To pass through values.yaml Exposed in the form of configuration files . The user can according to values.yaml Detailed explanation Document guidelines , Adjust yourself Rainbond Install predefined configurations . When the user's Kubernetes It is very useful when the cluster has a custom infrastructure and needs to be docked , For example, docking different storage 、 Load balancing 、 Database etc. . Previous installation methods can also support this configuration , however Helm Customization of installation method is the most convenient and reasonable .
- Easy to adjust cluster configuration
Inherited from highly customized properties , Users can refer to values.yaml Detailed explanation Document guidelines , After simple file editing , Complete with one command Rainbond Adjustment of cluster configuration .
- Clear and unmistakable command line operation mode
Compared with the previous graphical installation methods ,Helm The installation is based on the command line and configuration file , Minimize the possibility of ambiguity . Each command line operation has a clear return information , It is very much in line with the appetite of system operation and maintenance personnel .
Applicable people
Helm The only disadvantage of the installation method is that it requires high technical threshold for operators , Enterprises Kubernetes Cluster operation and maintenance management personnel are more suitable candidates . Operation and maintenance management personnel have the following characteristics .
- Yes Kubernetes Have in-depth understanding of the system
Use Helm Install application , Need to be right Kubernetes Have a certain understanding of the system . Once problems occur during installation , The operator is required to have debugging skills Kubernetes The ability of resources .
- Able to accept command line interaction
Operators and Helm The interaction between them is completely based on the form of command line , There is no graphical interface support .
- Yes Rainbond Clusters have high customization requirements
Owned by operators Kubernetes The more complex the cluster is , On the other hand Rainbond The higher the degree of customization required . Especially when hosting with different cloud service providers Kubernetes The service , It is very important to connect the other infrastructures around the cluster perfectly . These custom configurations will have a profound impact on Rainbond High availability and use experience of cluster .
Operation process
utilize Helm Based on the existing Kubernetes Cluster installation Rainbond, The process is relatively simple , All operations are based on the command line .
Environmental requirements
Helm edition :3+
Kubernetes edition : 1.19+
Helm install
- establish rbd-system Namespace
kubectl create namespace rbd-system- add to chart Warehouse
helm repo add rainbond https://openchart.goodrain.com/goodrain/rainbond- install ranibond
helm install rainbond rainbond/rainbond-cluster -n rbd-systemvalues.yaml
Users can create a configuration file values.yaml From definition Rainbond Configuration of cluster . The most common configuration items , Including the selection of gateway nodes , As well as the cluster's external network export IP Configuration of .
- Selection of gateway nodes
Kubernetes At least one node in the cluster needs to be provided as a node Rainbond Gateway nodes ,Rainbond Gateway servicerbd-gatewayIt's a kind ofIngress-controllerRealization , And otherIngress-controllerWorking together can lead to port conflicts , requirement80、443、6060、7070、8443Free .
- Cluster external network export IP
This configuration is closely related to the gateway node , stay Kubernetes Services running in the cluster , The service address needs to be exposed through the gateway node , Whether it's based on Http still Tcp, Will eventually be mapped to a IP Address . this IP It is possible that the server of the gateway node is mapped to the public network IP Address , It may also be the result of load balancing outside the gateway node IP Address , Through port mapping 80、443. If you don't set it , The intranet of the gateway node is selected by default IP Address . Configuration mode , It is simple file editing :
cat > values.yaml << EOF
Cluster:
# External gateway , Fill in IP
gatewayIngressIPs: 47.104.1.82
# Corresponding configuration of gateway node ,externalIP For the gateway node IP,internalIP For the gateway node IP,name For the gateway node node name
nodesForGateway:
- externalIP: 47.104.1.82
internalIP: 192.168.0.1
name: node1
EOFAfter generating the configuration file , In the installation Rainbond Reference the configuration file when :
helm install rainbond rainbond/rainbond-cluster -f values.yaml -n rbd-systemReference resources values.yaml Detailed explanation Learn more about custom configuration items , And how to make money for existing Rainbond Cluster change configuration .
Reference resources helm Installation and uninstallation guide To uninstall based on Helm Installed Rainbond colony .
There was a problem during the installation , Reference resources helm Installation troubleshooting guide Do troubleshooting .
About Rainbond
Rainbond It is an open source cloud native application management platform , Easy to use , You don't need to understand containers and Kubernetes, Support management of multiple Kubernetes colony , Provide full lifecycle management for enterprise applications , Functions include application development environment 、 Application market 、 Microservice architecture 、 Application continuous delivery 、 Application operation and maintenance 、 Application level multi cloud management, etc .
Github:https://github.com/goodrain/r...
Official website :https://www.rainbond.com
Wechat group : Focus on Rainbond The official account is joined by the technical exchange group.
Nail group : Please search for nail group number 31096419









