偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

CentOS安裝 All-in-One 模式安裝 KubeSphere

系統(tǒng) Linux
對于剛接觸 KubeSphere 并想快速上手該容器平臺的用戶,All-in-One 安裝模式是最佳的選擇,它能夠幫助您零配置快速部署 KubeSphere 和 Kubernetes。

[[427426]]

Kubesphere官方文檔:

https://kubesphere.com.cn/docs/quick-start/all-in-one-on-linux/

1. 安裝CentOS

要把處理器核心數設置在 2以上,這是k8s安裝配置要求的

2. 配置 ip

  1. vi /etc/sysconfig/network-scripts/ifcfg-ens33 
  2. ## 簡單的就是設置為靜態(tài)ip 
  3. ONBOOT=yes 

3. 禁用selinux(坑 一)

  1. vi /etc/sysconfig/selinux 
  2. ## 這是設置一個屬性為disabled 
  3. SELINUX=disabled 

 配置完之后需要重啟 reboot

4. 官網要求

(1)節(jié)點必須能夠通過 SSH 連接。

(2)節(jié)點上可以使用 sudo/curl/openssl 命令。

(3)docker 可以由您自己安裝或由 KubeKey 安裝。

注意:如果你想離線安裝 KubeSphere,請務必提前安裝好 docker。

安裝要求的依賴

  1. yum install socat conntrack ebtables ipset 

5. 關閉防火墻(坑二)

  1. systemctl stop firewalld.service # 停止 
  2. systemctl disable firewalld.service # 禁用防火墻,下次啟動也不會開啟 

6. 安裝docker(坑三)

  1. # 1. 安裝docker 
  2. yum  install docker docker.io 
  3. # 2. 配置docker 源 
  4. vim /etc/docker/daemon.json 
  5.         "registry-mirrors": [ 
  6.                 "https://registry.docker-cn.com" 
  7.         ] 
  8. # 3. 重載docker 
  9. sudo systemctl daemon-reload 
  10. sudo systemctl restart docker 

7. 安裝KubeKey

  1. # 先執(zhí)行以下命令以確保從正確的區(qū)域下載 KubeKey 
  2. export KKZONE=cn 
  3. # 執(zhí)行以下命令下載 KubeKey 
  4. curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh - 
  5. # 為kk添加可執(zhí)行權限 
  6. chmod +x kk 

8. 安裝Kubernetes和kubesphere

  1. # 安裝 
  2. ./kk create cluster --with-kubernetes v1.17.9 --with-kubesphere v3.0.0 

驗證結果

  1. kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f 
  1. ************************************************** 
  2. ##################################################### 
  3. ###              Welcome to KubeSphere!           ### 
  4. ##################################################### 
  5. Console: http://192.168.106.135:30880 
  6. Account: admin 
  7. Password: P@88w0rd 
  8. NOTES: 
  9.   1. After logging into the console, please check the 
  10.      monitoring status of service components in 
  11.      the "Cluster Management". If any service is not 
  12.      ready, please wait patiently until all components 
  13.      are ready. 
  14.   2. Please modify the default password after login. 
  15. ##################################################### 
  16. https://kubesphere.io             2021-08-28 12:20:55 
  17. ##################################################### 

9.登錄

CentOS安裝 All-in-One 模式安裝 KubeSphere

 

責任編輯:姜華 來源: 今日頭條
相關推薦

2013-06-09 10:34:24

華為網絡規(guī)劃企業(yè)ICT

2010-02-02 13:33:13

互聯網

2010-04-08 14:42:32

互聯網

2014-08-18 11:15:06

OpenStack

2010-01-18 15:34:47

互聯網

2012-02-29 21:16:24

用友U8信息化

2010-04-13 15:50:36

用友U8 All-in信息化

2021-02-06 07:16:33

kubekeykubesphere運維

2012-02-29 19:03:31

用友信息化U8

2010-01-22 17:25:11

互聯網

2009-03-26 17:41:53

2015-10-14 09:43:09

LinuxMintGate One安裝

2011-02-23 14:38:39

安裝CentOS vsftpd

2011-02-24 15:04:58

ProftpdCentos

2010-02-23 14:45:52

CentOS LEMP

2010-03-23 17:41:09

CentOS安裝

2011-02-23 14:38:39

安裝CentOS vsftpd

2011-03-02 09:52:03

2011-03-11 17:14:27

2010-03-30 15:52:49

CentOS安裝
點贊
收藏

51CTO技術棧公眾號