当前位置:网站首页>[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 ……

边栏推荐
- TCP three handshakes you need to know
- Tetris
- Unity gets the width and height of Sprite
- 03. 开发博客项目之登录
- [leetcode] 18. Sum of four numbers
- 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
- Graduation design game mall
- Yolov5 tensorrt acceleration
- 用StopWatch 统计代码耗时
- Compilation et connexion de shader dans games202 - webgl (comprendre la direction)
猜你喜欢

03. 开发博客项目之登录

趋势前沿 | 达摩院语音 AI 最新技术大全

Pagoda configuration mongodb

Codeforces Round #804 (Div. 2) Editorial(A-B)

Cuda11.1 online installation

Simple understanding of interpreters and compilers

Microblogging hot search stock selection strategy

JS quick start (II)

Fiddler installed the certificate, or prompted that the certificate is invalid

Principle and performance analysis of lepton lossless compression
随机推荐
Three.js学习-光照和阴影(了解向)
Easy to understand I2C protocol
02. 开发博客项目之数据存储
Vulhub vulnerability recurrence 68_ ThinkPHP
Safe mode on Windows
Review of double pointer problems
Talking about the type and function of lens filter
Principle and performance analysis of lepton lossless compression
Ora-01779: the column corresponding to the non key value saving table cannot be modified
Codeforces Round #804 (Div. 2) Editorial(A-B)
C# AES对字符串进行加密
[leetcode daily question] number of enclaves
Compilation and connection of shader in games202 webgl (learn from)
[mask requirements of OSPF and Isis in multi access network]
Jvxetable用slot植入j-popup
Unity Vector3. Use and calculation principle of reflect
Hyperledger Fabric2. Some basic concepts of X (1)
JDBC calls the stored procedure with call and reports an error
Biscuits (examination version)
[leetcode] 18. Sum of four numbers