Install on Kubernetes (Online)

    1. You need to create 2 namespaces in Kubernetes cluster, namely, kubesphere-system and kubesphere-monitoring-system.
    1. Create a Secret of CA certificate of your current Kubernetes cluster.
    1. --from-file=ca.crt=/etc/kubernetes/pki/ca.crt \
    2. --from-file=ca.key=/etc/kubernetes/pki/ca.key
    1. Create an ETCD‘s Secret of certificate.
    • If the ETCD has been configured with certificates, refer to the following step:
    • If the ETCD has been not configured with certificates, create an empty Secret (The following command is suitable for Kubernetes cluster created by Kubeadm):
    1. $ kubectl -n kubesphere-monitoring-system create secret generic kube-etcd-client-certs
    1. Clone the repository to Kubesphere-installer to local.
    1. Enter into ks-installer. Then install KubeSphere on existing Kubernetes cluster.
    1. $ cd deploy
    2. # According to the parameter table at the bottom, replace the value of "kubesphere-config" in "kubesphere-installer.yaml" file with your current Kubernetes cluster parameters (If the ETCD has no certificate, set etcd_tls_enable: False).
    3. $ kubectl apply -f kubesphere-installer.yaml
    1. Inspect the logs of installer, waiting for the successful logs appear.
    1. Finally, check console’s service port. Use IP:30880 to visit KubeSphere login page. The default cluster administration account is admin/P@88w0rd.
    1. $ kubectl get svc -n kubesphere-system | grep 30880
    • Support multiple public cloud network plugins and storage plugins