当前位置:网站首页>[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-utils
stay 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-server
Make 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 sc
Two 、 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 ……
边栏推荐
- JDBC calls the stored procedure with call and reports an error
- [mask requirements of OSPF and Isis in multi access network]
- Review of double pointer problems
- 【OSPF 和 ISIS 在多路访问网络中对掩码的要求】
- Golang -- TCP implements concurrency (server and client)
- Steady, 35K, byte business data analysis post
- 集合详解之 Collection + 面试题
- ByteDance program yuan teaches you how to brush algorithm questions: I'm not afraid of the interviewer tearing the code
- Drive development - the first helloddk
- Vulhub vulnerability recurrence 69_ Tiki Wiki
猜你喜欢
GAMES202-WebGL中shader的編譯和連接(了解向)
idea一键导包
Figure database ongdb release v-1.0.3
04. 项目博客之日志
Three methods of Oracle two table Association update
Class inheritance in yyds dry inventory C
03. 开发博客项目之登录
Vulhub vulnerability recurrence 68_ ThinkPHP
RT thread analysis - object container implementation and function
Postman assertion
随机推荐
Compilation et connexion de shader dans games202 - webgl (comprendre la direction)
01. 开发博客项目之项目介绍
Tetris
Some common skills on unity inspector are generally used for editor extension or others
Postman assertion
改善Jpopup以实现动态控制disable
js Array 列表 实战使用总结
趋势前沿 | 达摩院语音 AI 最新技术大全
Vulhub vulnerability recurrence 69_ Tiki Wiki
Questions d'examen écrit classiques du pointeur
Codeforces Round #804 (Div. 2) Editorial(A-B)
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
Talking about the type and function of lens filter
Idea one key guide package
Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
Compilation and connection of shader in games202 webgl (learn from)
Knowledge points of circular structure
Microblogging hot search stock selection strategy
【华为机试真题详解】统计射击比赛成绩
Three methods of Oracle two table Association update