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

边栏推荐
- In 2022, we must enter the big factory as soon as possible
- MySQL if and ifnull use
- Jvxetable用slot植入j-popup
- EditorUtility.SetDirty在Untiy中的作用以及应用
- [mask requirements of OSPF and Isis in multi access network]
- 02. 开发博客项目之数据存储
- 關於Unity Inspector上的一些常用技巧,一般用於編輯器擴展或者其他
- 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
- UCF (2022 summer team competition I)
- Talking about the type and function of lens filter
猜你喜欢

01. 开发博客项目之项目介绍
![[mask requirements of OSPF and Isis in multi access network]](/img/7d/1ba80bb906caa9be4bef165ac26d2c.png)
[mask requirements of OSPF and Isis in multi access network]

Questions d'examen écrit classiques du pointeur

剑指 Offer II 039. 直方图最大矩形面积

Yyds dry inventory SSH Remote Connection introduction

C进阶-数据的存储(上)

Nacos - TC Construction of High available seata (02)
![[effective Objective-C] - memory management](/img/1e/611aa998486bbac76ac103c3091794.jpg)
[effective Objective-C] - memory management

Graduation design game mall

Please wait while Jenkins is getting ready to work
随机推荐
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
指針經典筆試題
EditorUtility.SetDirty在Untiy中的作用以及应用
js Array 列表 实战使用总结
02. Develop data storage of blog project
Graduation design game mall
04. Project blog log
Codeforces Round #804 (Div. 2) Editorial(A-B)
SQLite queries the maximum value and returns the whole row of data
Rce code and Command Execution Vulnerability
Qt TCP 分包粘包的解决方法
Set detailed map + interview questions
关于Unity Inspector上的一些常用技巧,一般用于编辑器扩展或者其他
Vulhub vulnerability recurrence 67_ Supervisor
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
Solution of QT TCP packet sticking
[classic example] binary tree recursive structure classic topic collection @ binary tree
UCF(2022暑期团队赛一)
nacos-高可用seata之TC搭建(02)
03. 开发博客项目之登录