Install on Kubernetes (Offline)
This guide is for offline installation, make sure your Kubernetes cluster meets the prerequisites below, see Prerequisites for more details.
- Kubernetes Version: from
1.13.0
to1.15.x
- Helm Version:
>= 2.10.0
- Available Memory:
>= 10 G
- Already have Storage Class (Recommended)
- Download the offine installation package and then uncompress it.
$ wget https://kubesphere-installer.pek3b.qingstor.com/ks-only/kubesphere-images-advanced-2.0.2.tar.gz
$ tar -zxvf kubesphere-images-advanced-2.0.2.tar.gz
- Loading the package using docker command (It may take longer to import since the image package is larger).
$ docker load < kubesphere-images-advanced-2.0.2.tar
- Clone the remote repository and then execute the script to import the required images for the installation into the local repository.
$ git clone https://github.com/kubesphere/ks-installer.git
$ cd scripts
$ ./download-docker-images.sh LOCAL_REGISTRY_ADDRESS
Note:Replace the “LOCALREGISTRYADDRESS” with your local registry address, e.g.
./download-docker-images.sh 192.168.1.2:5000
- Replace the image name with your local address in
deploy/kubesphere-installer.yaml
.
Note:
192.168.1.2:5000/kubespheredev/ks-installer:advanced-2.0.2
is an example image address, replace it with your own image address.
$ sed -i 's|kubespheredev/ks-installer:advanced-2.0.2|192.168.1.2:5000/kubespheredev/ks-installer:advanced-2.0.2|g' deploy/kubesphere-installer.yaml
- Follow with Installing KubeSphere guide to continue this installation.
当前内容版权归 KubeSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 KubeSphere .