当前位置:网站首页>One click installation of highly available Nacos clusters in rainbow
One click installation of highly available Nacos clusters in rainbow
2022-07-07 08:18:00 【Rainbond】
The current document describes how to manage the platform through the cloud native application Rainbond One click installation high availability Nacos colony . This way is suitable for people who don't know much about Kubernetes、 Users of complex technologies such as containerization , Reduced in Kubernetes Deployment in China Nacos Threshold .
Background information
Rainbond And Nacos The combination of
Rainbond It is an easy-to-use open source cloud native application management platform . With the aid of it , Users can complete the deployment, operation and maintenance of micro services in the graphical interface . With the help of Kubernetes And the ability of containerization Technology , Self heal the fault 、 The business enabled by automatic operation and maintenance capabilities such as elastic expansion .
Rainbond Built in native Service Mesh Microservice framework , At the same time Spring Cloud、Dubbo And other micro service frameworks also have a good integration experience . Therefore, a large number of Rainbond The user may also be Nacos Users of the microservice registry . Such users no longer have to care about how to deploy Nacos colony ,Rainbond Team will Nacos Make an application template that can be deployed with one click , Free download and installation for open source users . This installation method greatly reduces the use of users Nacos The deployment burden of the cluster , At present, we support 1.4.2 And 2.0.4 edition .
About application templates
The application template is for Rainbond Installation package of cloud native application management platform , Users can install the business system into their own system based on it Rainbond In the middle . No matter how complex the business system is , The application template will abstract it into an application , Image of all components in the application 、 The configuration information and the relationship between all components are installed together .
Prerequisite
Deployed Rainbond Cloud native application management platform , Quick experience version Can be in person PC Run in the environment at the cost of starting a container .
Internet connection .
Quick start
- Visit the built-in open source app store
Choose the one on the left Application market TAB , Switch to... In the page Open source app store TAB , Search keywords nacos You can find it Nacos-cluster application .

- A key to install
Click on Nacos-cluster On the right side of the install You can enter the installation page , After filling in the simple information , Click on determine You can start the installation , The page automatically jumps to the topology view .

Parameter description :
| Options | explain |
|---|---|
| Team name | User built workspace , Isolate by namespace |
| Cluster name | choice Nacos To which one K8s colony |
| Select application | choice Nacos To which application is deployed , The application contains several related components |
| Application version | choice Nacos Version of , Currently, the optional version is 1.4.2、2.0.4 |
Wait a few minutes ,Nacos The cluster will be installed , And run it .

- test
Other microservices need to be registered , Can be built for Nacos Of Dependency relationship after , Use ${NACOS_HOST}:${NACOS_PORT} To connect to Nacos colony .
Service registration
curl -X PUT "http://${NACOS_HOST}:${NACOS_PORT}/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080"Service discovery
curl -X GET "http://${NACOS_HOST}:${NACOS_PORT}/nacos/v1/ns/instance/list?serviceName=nacos.naming.serviceName"Release configuration
curl -X POST "http://${NACOS_HOST}:${NACOS_PORT}/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test&content=helloWorld"Get configuration
curl -X GET "http://${NACOS_HOST}:${NACOS_PORT}/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test"
Advanced features
- One click installation Nacos The cluster contains 3 An example , And automatically complete the operation of self-organizing cluster and election through the initialization plug-in .

- Integrated by default Mysql As a data source . stay Nacos-server-2.0.4 The following environment variables are configured in the environment configuration of the component , You can switch to other external data sources .
| name | necessary | describe |
|---|---|---|
MYSQL_SERVICE_HOST | Y | Database address |
MYSQL_SERVICE_PORT | Y | Database port |
MYSQL_SERVICE_USER | Y | Database user name |
MYSQL_SERVICE_PASSWORD | Y | Database password |
MYSQL_SERVICE_DB_NAME | Y | Database name |
- By default Nacos-server-2.0.4 Data persistence directory .

- Default configuration Nacos-server-2.0.4 The health examination mechanism , Ensure automatic offline in case of instance failure , Go online automatically after recovery .

边栏推荐
- 【雅思口语】安娜口语学习记录 Part2
- Fast parsing intranet penetration escorts the document encryption industry
- 云原生存储解决方案Rook-Ceph与Rainbond结合的实践
- Application of slip ring of shipborne radar antenna
- The reified keyword in kotlin is used for generics
- What is the function of paralleling a capacitor on the feedback resistance of the operational amplifier circuit
- CDC (change data capture technology), a powerful tool for real-time database synchronization
- Snyk 依赖性安全漏洞扫描工具
- 轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷
- Blob 对象介绍
猜你喜欢

What is the function of paralleling a capacitor on the feedback resistance of the operational amplifier circuit

Basic use of CTF web shrink template injection nmap

在 Rainbond 中一键安装高可用 Nacos 集群

The simple problem of leetcode is to judge whether the number count of a number is equal to the value of the number

Open3D ISS关键点

使用BiSeNet实现自己的数据集

Leetcode medium question my schedule I
![[quick start of Digital IC Verification] 11. Introduction to Verilog testbench (VTB)](/img/c2/32a2c1ede493b778a6c44077d765d0.png)
[quick start of Digital IC Verification] 11. Introduction to Verilog testbench (VTB)

opencv学习笔记五——梯度计算/边缘检测

利用 Helm 在各类 Kubernetes 中安装 Rainbond
随机推荐
It took "7" years to build the robot framework into a micro service
Analysis of maker education in innovative education system
互动送书-《Oracle DBA工作笔记》签名版
[step on the pit series] H5 cross domain problem of uniapp
解析机器人科技发展观对社会研究论
Merging binary trees by recursion
eBPF Cilium实战(1) - 基于团队的网络隔离
Complete linear regression manually based on pytoch framework
解析创新教育体系中的创客教育
Interactive book delivery - signed version of Oracle DBA work notes
发挥创客教育空间的广泛实用性
Leetcode simple question: find the K beauty value of a number
【雅思口语】安娜口语学习记录 Part2
Splunk中single value视图使用将数值替换为文字
Four items that should be included in the management system of integral mall
Hisense TV starts the developer mode
Use of out covariance and in inversion in kotlin
Transformation function map and flatmap in kotlin
Explore creativity in steam art design
Empire CMS collection Empire template program general