KubeSphere Container Platform
Follow these instructions to prepare the KubeSphere Container Platform for Istio. You can download KubeSphere to easily install a Kubernetes cluster on your Linux machines.
KubeSphere provides All-in-One and Multi-Node installations. This enables quick setup and manages Kubernetes and Istio in a unified web console. This tutorial will walk you through the All-in-One installation. Reference Multi-node Installation for further information.
Prerequisites
A Linux machine that is either a virtual machine or bare metal. This machine requires at a minimum:
Hardware:
- CPU: at least 2 Cores
- Memory: at least 4
GB
Operating Systems:
- CentOS 7.4 ~ 7.7 (
64-bit
) - Ubuntu 16.04/18.04 LTS (
64-bit
) - RHEL 7.4 (
64-bit
) - Debian Stretch 9.5 (
64-bit
)
- CentOS 7.4 ~ 7.7 (
Ensure your firewall meets the port requirements. If this is not immediately feasible, you may evaluate Istio and KubeSphere by disabling the firewall as documented in your distribution.
Provisioning a Kubernetes cluster
Download KubeSphere to your Linux machine, move to the KubeSphere directory. For example, if the created directory is
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
Execute the installation script, it will create a standard Kubernetes cluster. Select the “1) All-in-one” option when prompted:
$ ./install.sh
Installation may take 15 ~ 20 minutes. Wait until all pods are running. Access the console using the account information obtained from the installation logs:
#####################################################
### Welcome to KubeSphere! ###
#####################################################
Console: http://192.168.0.8:30880
Account: admin
Password: It will be generated by KubeSphere Installer
At the same time, Kubernetes has been installed into your environment.
Enable installing Istio on Kubernetes
KubeSphere will install Istio within Kubernetes. Now reference Enable Service Mesh to enable Istio.