KubeSphere Container Platform

This page was last updated March 9, 2021.

This vendor-provided document has not been tested on the Istio 1.9 release and may contain bugs.

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)

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

  1. Download KubeSphere to your Linux machine, move to the KubeSphere directory. For example, if the created directory is kubesphere-all-v2.1.1:

    1. $ curl -L https://kubesphere.io/download/stable/latest > installer.tar.gz
    2. $ tar -xzf installer.tar.gz
    3. $ cd kubesphere-all-v2.1.1/scripts
  2. Execute the installation script, it will create a standard Kubernetes cluster. Select the “1) All-in-one” option when prompted:

    1. $ ./install.sh
  3. Installation may take 15 ~ 20 minutes. Wait until all pods are running. Access the console using the account information obtained from the installation logs:

    1. #####################################################
    2. ### Welcome to KubeSphere! ###
    3. #####################################################
    4. Console: http://192.168.0.8:30880
    5. Account: admin
    6. Password: It will be generated by KubeSphere Installer

    At the same time, Kubernetes has been installed into your environment.

    KubeSphere Console

Enable installing Istio on Kubernetes

KubeSphere will install Istio within Kubernetes. Now reference Enable Service Mesh to enable Istio.