KubeSphere 容器平台
此頁面最後更新於 2021 年 3 月 9 日。
請依照以下指示準備 KubeSphere 容器平台 以使用 Istio。您可以下載 KubeSphere,以便在您的 Linux 機器上輕鬆安裝 Kubernetes 叢集。
先決條件
Linux 機器,可以是虛擬機器或裸機。此機器至少需要
硬體
- CPU:至少 2 個核心
- 記憶體:至少 4
GB
作業系統
- CentOS 7.4 ~ 7.7 (
64 位元
) - Ubuntu 16.04/18.04 LTS (
64 位元
) - RHEL 7.4 (
64 位元
) - Debian Stretch 9.5 (
64 位元
)
- CentOS 7.4 ~ 7.7 (
佈建 Kubernetes 叢集
將 KubeSphere 下載到您的 Linux 機器,移至 KubeSphere 目錄。例如,如果建立的目錄是
kubesphere-all-v2.1.1
$ curl -L https://kubesphere.io/download/stable/latest > installer.tar.gz $ tar -xzf installer.tar.gz $ cd kubesphere-all-v2.1.1/scripts
執行安裝指令碼,它將建立一個標準的 Kubernetes 叢集。當出現提示時,請選取 「1) All-in-one」 選項
$ ./install.sh
安裝可能需要 15 到 20 分鐘。請等待直到所有 Pod 都正在執行。使用從安裝記錄中取得的帳戶資訊存取主控台
##################################################### ### Welcome to KubeSphere! ### ##################################################### Console: http://192.168.0.8:30880 Account: admin Password: It will be generated by KubeSphere Installer
啟用在 Kubernetes 上安裝 Istio
KubeSphere 將會在 Kubernetes 中安裝 Istio。請參考啟用服務網格來啟用 Istio。