KubeSphere 容器平台
此页面上次更新于 2021年3月9日。
请按照以下说明准备用于 Istio 的 KubeSphere 容器平台。您可以下载 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) 一体化”选项。
$ ./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。