自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

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

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

[[427426]]

Kubesphere官方文檔:

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

1. 安裝CentOS

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

2. 配置 ip

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

3. 禁用selinux(坑 一)

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

 配置完之后需要重啟 reboot

4. 官網(wǎng)要求

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

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

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

注意:如果你想離線安裝 KubeSphere,請(qǐng)務(wù)必提前安裝好 docker。

安裝要求的依賴

  1. yum install socat conntrack ebtables ipset 

5. 關(guān)閉防火墻(坑二)

  1. systemctl stop firewalld.service # 停止 
  2. systemctl disable firewalld.service # 禁用防火墻,下次啟動(dòng)也不會(huì)開啟 

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í)行權(quán)限 
  6. chmod +x kk 

8. 安裝Kubernetes和kubesphere

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

驗(yàn)證結(jié)果

  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

 

責(zé)任編輯:姜華 來源: 今日頭條
相關(guān)推薦

2013-06-09 10:34:24

華為網(wǎng)絡(luò)規(guī)劃企業(yè)ICT

2010-02-02 13:33:13

互聯(lián)網(wǎng)

2010-04-08 14:42:32

互聯(lián)網(wǎng)

2014-08-18 11:15:06

OpenStack

2010-04-13 15:50:36

用友U8 All-in信息化

2021-02-06 07:16:33

kubekeykubesphere運(yùn)維

2012-02-29 21:16:24

用友U8信息化

2010-01-18 15:34:47

互聯(lián)網(wǎng)

2010-01-22 17:25:11

互聯(lián)網(wǎng)

2012-02-29 19:03:31

用友信息化U8

2009-03-26 17:41:53

2015-10-14 09:43:09

LinuxMintGate One安裝

2011-02-23 14:38:39

安裝CentOS vsftpd

2011-03-02 09:52:03

2010-03-30 15:52:49

CentOS安裝

2010-03-31 17:36:10

CentOS系統(tǒng)

2011-03-29 10:22:35

CentOS安裝Zabbix

2010-03-23 17:41:09

CentOS安裝

2011-03-11 17:14:27

2011-02-23 14:38:39

安裝CentOS vsftpd
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)