当前位置:网站首页>[cloud native] 3.1 kubernetes platform installation kubespher
[cloud native] 3.1 kubernetes platform installation kubespher
2022-07-06 05:22:00 【Program ape chase】
hello ~ Hello, everyone , Welcome to the new chapter , In this article, let's see how to k8s Come up and install KubeSpher.
Personal home page : Personal home page
Series column :【 Cloud native series 】
Articles related to this article :
【 Cloud native 】2.3 Kubernetes Core combat ( On ) 【 Cloud native 】2.3 Kubernetes Core combat ( On )_ Program ape chase blog -CSDN Blog 【 Cloud native 】2.4 Kubernetes Core combat ( in ) 【 Cloud native 】2.4 Kubernetes Core combat ( in )_ Program ape chase blog -CSDN Blog 【 Cloud native 】2.5 Kubernetes Core combat ( Next ) 【 Cloud native 】2.5 Kubernetes Core combat ( Next )_ Program ape chase blog -CSDN Blog
Catalog
Two 、KubeSphere Platform installation
3、 ... and 、 Deploy KubeSphere
1、 Execute the following command to start the installation
One 、 What is? KubeSpher?
KubeSphere Is based on Kubernetes Distributed build 、 multi-tenancy 、 Multi cluster 、 Enterprise open source container platform , It has powerful and perfect network and storage capabilities , And through the simple human-computer interaction to provide a perfect multi cluster management 、CI/ CD、 Micro service governance 、 Application management and other functions , Help businesses in the cloud 、 Build quickly on heterogeneous infrastructure such as virtualization and physical machines 、 Deployment and operation and maintenance container architecture , Realize agile development and full life cycle management of application .
Official website :QKCP Enterprise container platform | Qingyun QingCloud
Two 、KubeSphere Platform installation
choice 4 nucleus 8G(master)、8 nucleus 16G(node1)、8 nucleus 16G(node2) Three machines , Pay as you go experiments .
Suppose your machine is not installed Docker、 No installation Kubernetes、 No cluster , Then you can see the article written before , There are explanations in it , Let's start with the front-end environment .
1、 install nfs-server
requirement : If you need to be in Kubernetes Installation on KubeSphere v31.1.1, Your Kubernetes Version must be : 1.17.x、1.18.x、1.19.x or 1.20.x.
Make sure your machine meets the minimum hardware requirements : CPU > 1 nucleus , Memory > 2 GB.
Before installation , Need configuration Kubernetes In the cluster Default storage type .
First install tools on each machine
yum install -y nfs-utilsstay master Execute the following command
echo "/nfs/data/ *(insecure,rw,sync,no_root_squash)" > /etc/exports
Execute the following command , start-up nfs service ; Create shared directory
mkdir -p /nfs/data
stay master perform
systemctl enable rpcbind
systemctl enable nfs-server
systemctl start rpcbind
systemctl start nfs-serverMake configuration effective
exportfs -r
Check if the configuration works
exportfs
Then create a storage class , Specify yourself nfs Server address and nfs Server shared directory




Confirm that the configuration is in effect
kubectl get scTwo 、 install metrics-server
( Cluster indicator monitoring component )


3、 ... and 、 Deploy KubeSphere
After making sure your machine meets the prerequisites for installation , You can follow these steps to install KubeSphere.
1、 Execute the following command to start the installation
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.0/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.0/cluster-configuration.yaml
notes : The installation may fail here , So use the command yum install -y wget

Enter the command to install
kubectl apply -f kubesphere-installer.yaml
kubectl apply -f cluster-configuration.yaml

Check the installation progress
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f


Remember to release the port
Enter... On the website 139.198.165.238:30880, Then you can access it , Use the provided account and default password ( The first login will require changing the password )


If you want to Linux The above single node deployment KubeSphere Or you want to deploy multiple nodes KubeSphere Words , You can check it in the official documents

( Please pay attention to ) Ongoing update ……

边栏推荐
- Three. JS learning - light and shadow (understanding)
- 自建DNS服务器,客户端打开网页慢,解决办法
- pix2pix:使用条件对抗网络的图像到图像转换
- Mysql高级篇学习总结9:创建索引、删除索引、降序索引、隐藏索引
- 02. 开发博客项目之数据存储
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
- Oracle query table index, unique constraint, field
- Unity Vector3. Use and calculation principle of reflect
- SQLite queries the maximum value and returns the whole row of data
- Jvxetable用slot植入j-popup
猜你喜欢

Golang -- TCP implements concurrency (server and client)

Compilation et connexion de shader dans games202 - webgl (comprendre la direction)

Excel转换为Lua的配置文件

Review of double pointer problems

Modbus协议通信异常
![[leetcode daily question] number of enclaves](/img/6e/1da0fa5c7d1489ba555e4791e2ac97.jpg)
[leetcode daily question] number of enclaves

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

浅谈镜头滤镜的类型及作用

Summary of redis basic knowledge points

Microblogging hot search stock selection strategy
随机推荐
Three. JS learning - light and shadow (understanding)
Some common skills on unity inspector are generally used for editor extension or others
C进阶-数据的存储(上)
Configuration file converted from Excel to Lua
集合详解之 Map + 面试题
Figure database ongdb release v-1.0.3
Golang -- TCP implements concurrency (server and client)
Postman manage test cases
SQLite add index
Vite configures the development environment and production environment
【华为机试真题详解】统计射击比赛成绩
js Array 列表 实战使用总结
备忘一下jvxetable的各种数据集获取方法
[mask requirements of OSPF and Isis in multi access network]
Three methods of Oracle two table Association update
Sliding window problem review
关于Unity Inspector上的一些常用技巧,一般用于编辑器扩展或者其他
Vulhub vulnerability recurrence 71_ Unomi
02. Develop data storage of blog project
F12 solve the problem that web pages cannot be copied