# Install KSE v4.1.0 Online ### Install k8s cluster by kubekey 1. Download KubeKey ``` curl -sSL https://get-kk.kubesphere.io | sh - ``` 2. Generate KubeKey configuration file ``` ./kk create config ``` 3. According to the environmental information, fill in the configuration file. For more configurations, please refer to: https://github.com/kubesphere/kubekey/blob/master/docs/config-example.md 4. Create cluster > `--with-local-storage` indicates that openebs (local-storage) is used as the cluster persistent storage. If you need to dock other persistent storage, please refer to: https://kubesphere.io/docs/v3.3/installing-on-linux/persistent-storage-configurations/understand-persistent-storage/ ``` ./kk create cluster -f config-sample.yaml --with-local-storage ``` ### Deploy KSE v4.1.0 #### Deploy ks-core ``` chart=https://charts.kubesphere.io/test/ks-core-1.0.0.tgz helm upgrade --install -n kubesphere-system --create-namespace ks-core $chart \ --debug --wait \ --set cloud.enabled=false,upgrade.enabled=false \ --set apiserver.image.tag="v4.1.0-20240506-1" \ --set console.image.tag="v4.1.0-20240508-1" \ --set controller.image.tag="v4.1.0-20240506-1" ``` #### Publish KSE Extensions ``` helm template -n kubesphere-system oci://hub.kubesphere.com.cn/kse/kse-extensions-publish \ --version v4.1.0-20240515-1 \ --set museum.enabled=true | kubectl apply -f - ``` > KSE v4.1.0 has been installed successfully, and you can login to Web Console of KSE to fill in the license and enable extensions.