当前位置:网站首页>[kubernetes series] kubesphere is installed on kubernetes
[kubernetes series] kubesphere is installed on kubernetes
2022-07-04 07:08:00 【Run, Deng DengZi】
Catalog
One 、 preparation
1. Version for
stay Kubernetes Installation on KubeSphere 3.3.0,Kubernetes Version must be :v1.19.x,v1.20.x,v1.21.x,v1.22.x or v1.23.x( Experimental support ). If the version does not meet the requirements , Please refer to 【Kubernetes series 】K8s from 1.24.1 Downgrade to 1.23.8 Downgrade or upgrade to a qualified version .
2. Hardware requirements
The machine meets the minimum hardware requirements :CPU > 1 nucleus , Memory > 2 GB.
3. Requirements configured StorageClass
Kubernetes The cluster has been configured with default settings StorageClass. Confirmation method :
kubectl get sc
[[email protected] ~]# kubectl get sc
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
managed-nfs-storage fuseim.pri/ifs Delete Immediate false 3h6m
Two 、 Deploy KubeSphere
1. install
Execute the following command to install :
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
It's common to report mistakes :
[[email protected] kubesphere]# kubectl apply -f kubesphere-installer.yaml
namespace/kubesphere-system created
serviceaccount/ks-installer created
clusterrole.rbac.authorization.k8s.io/ks-installer created
clusterrolebinding.rbac.authorization.k8s.io/ks-installer created
deployment.apps/ks-installer created
error: unable to recognize "kubesphere-installer.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
resolvent :
Modify the configuration file kubesphere-installer.yaml, take “apiextensions.k8s.io/v1beta1” Change it to “apiextensions.k8s.io/v1”.
2. Check the log
Check the installation log :
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}') -f
3. see Pod
see Pod Is it working :
kubectl get pod --all-namespaces
kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system calico-kube-controllers-6b77fff45-czfmp 1/1 Running 0 60m
kube-system calico-node-fsbl4 1/1 Running 0 60m
kube-system coredns-6d8c4cb4d-cpjh9 1/1 Running 0 20h
kube-system coredns-6d8c4cb4d-csc8f 1/1 Running 0 20h
kube-system etcd-master01 1/1 Running 0 20h
kube-system kube-apiserver-master01 1/1 Running 0 20h
kube-system kube-controller-manager-master01 1/1 Running 0 20h
kube-system kube-proxy-r5rtc 1/1 Running 0 20h
kube-system kube-scheduler-master01 1/1 Running 0 20h
kubesphere-system ks-installer-c9655d997-vb2pr 1/1 Running 0 8m33s
4. View console
If Pod Running normally , Check the port of the console with the following command ( The default is 30880):
kubectl get svc/ks-console -n kubesphere-system
[[email protected] ~]# kubectl get svc/ks-console -n kubesphere-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ks-console NodePort 10.10.3.219 <none> 80:30880/TCP 6h59m
5. visit Web Console
Make sure that the port... Is open in the security group 30880, And pass NodePort (IP:30880) Use default account and password (admin/[email protected]) visit Web Console .
http://192.168.1.28:30880


边栏推荐
- 电子协会 C语言 1级 35 、银行利息
- Computer connects raspberry pie remotely through putty
- [thread pool]
- 同一个job有两个source就报其中一个数据库找不到,有大佬回答下吗
- Data double write consistency between redis and MySQL
- Set JTAG fuc invalid to normal IO port
- MySQL 45 lecture learning notes (x) force index
- Tar source code analysis Part 7
- Selection (022) - what is the output of the following code?
- tornado之目录
猜你喜欢
![[Mori city] random talk on GIS data (I)](/img/e4/2a2ceb10a2c0285cdd0c922f827930.png)
[Mori city] random talk on GIS data (I)

notepad++如何统计单词数量

Chain ide -- the infrastructure of the metauniverse

【森城市】GIS数据漫谈(一)

The final week, I split

leetcode825. 适龄的朋友
![[thread pool]](/img/de/d19897bdcfd65026cfe2a23c41b8c0.jpg)
[thread pool]

Four sets of APIs for queues

"Sword finger offer" 2nd Edition - force button brush question

Summary of MySQL common judgment functions!! Have you used it
随机推荐
leetcode825. 适龄的朋友
MySQL 45 lecture learning notes (XIV) count (*)
电脑通过Putty远程连接树莓派
在已經知道錶格列勾選一個顯示一列
关于IDEA如何设置快捷键集
Campus network problems
Paddleocr prompt error: can not import AVX core while this file exists: xxx\paddle\fluid\core_ avx
Google Chrome Portable Google Chrome browser portable version official website download method
com. alibaba. nacos. api. exception. NacosException
Analysis of tars source code 1
Industrial computer anti-virus
用于压缩视频感知增强的多目标网络自适应时空融合
Selenium driver ie common problem solving message: currently focused window has been closed
电子协会 C语言 1级 35 、银行利息
BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
大厂技术专家:架构设计中常用的思维模型
MySQL relearn 2- Alibaba cloud server CentOS installation mysql8.0
The cloud native programming challenge ended, and Alibaba cloud launched the first white paper on application liveliness technology in the field of cloud native
2022, peut - être la meilleure année économique de la prochaine décennie, avez - vous obtenu votre diplôme en 2022? Comment est - ce prévu après la remise des diplômes?
2022年,或許是未來10年經濟最好的一年,2022年你畢業了嗎?畢業後是怎麼計劃的?