All-in-One and Multi-Node describe how to install KubeSphere on virtual machine or bare metal with provisioning Kubernetes underneath. You are also allowed to deploy KubeSphere on an existing Kubernetes cluster that is cloud-hosted or on-premises. This document will show you how to deploy KubeSphere on a Kubernetes with internet access. With regard to disconnected Kubernetes cluster, please refer to Deploy KubeSphere on Air Gapped Kubernetes Cluster.
Note: first of all, please read the prerequisites.
Install KubeSphere using kubectl.
kubectl apply -f https://raw.githubusercontent.com/kubesphere/ks-installer/v2.1.1/kubesphere-minimal.yaml
kubectl apply -f https://raw.githubusercontent.com/kubesphere/ks-installer/v2.1.1/kubesphere-complete-setup.yaml
Verify the real-time logs. When you see the following outputs, congratulation! You can access KubeSphere console in your browser now.
$ kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
#####################################################
### Welcome to KubeSphere! ###
#####################################################
Console: http://10.128.0.34:30880
Account: admin
Password: P@88w0rd
NOTE:Please modify the default password after login.
#####################################################
If you start with a default minimal installation, execute the following command to open the configmap in order to enable more pluggable components at your will. Make sure your cluster has enough CPU and memory. Please see Enable Pluggable Components for more information.
kubectl edit cm -n kubesphere-system ks-installer