diff --git a/content/en/docs/pluggable-components/app-store.md b/content/en/docs/pluggable-components/app-store.md index 0c5102ed5..c94dd2253 100644 --- a/content/en/docs/pluggable-components/app-store.md +++ b/content/en/docs/pluggable-components/app-store.md @@ -15,7 +15,7 @@ Internally, KubeSphere App Store can serve as a place for different teams to sha ![app-store](https://ap3.qingstor.com/kubesphere-website/docs/20200828170503.png) -For more information, see App Store. +For more information, see [App Store](../../application-store/). ## Enable App Store before Installation @@ -25,9 +25,9 @@ When you install KubeSphere on Linux, you need to create a configuration file, w 1. In the tutorial of [Installing KubeSphere on Linux](../../installing-on-linux/introduction/multioverview/), you create a default file **config-sample.yaml**. Modify the file by executing the following command: -```bash -vi config-sample.yaml -``` + ```bash + vi config-sample.yaml + ``` {{< notice note >}} @@ -37,46 +37,46 @@ If you adopt [All-in-one Installation](../../quick-start/all-in-one-on-linux/), 2. In this file, navigate to `openpitrix` and change `false` to `true` for `enabled`. Save the file after you finish. -```bash -openpitrix: - enabled: true # Change "false" to "true" -``` + ```bash + openpitrix: + enabled: true # Change "false" to "true" + ``` 3. Create a cluster using the configuration file: -```bash -./kk create cluster -f config-sample.yaml -``` + ```bash + ./kk create cluster -f config-sample.yaml + ``` ### **Installing on Kubernetes** -When you install KubeSphere on Kubernetes, you need to download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.0.0/cluster-configuration.yaml) for cluster setting. If you want to install App Store, do not use `kubectl apply -f` directly for this file. +The process of installing KubeSphere on Kubernetes is same as stated in the tutorial of [Installing KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/) except the optional component App Store needs to be enabled first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.0.0/cluster-configuration.yaml). -1. In the tutorial of [Installing KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you execute `kubectl apply -f` first for the file [kubesphere-installer.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.0.0/kubesphere-installer.yaml). After that, to enable App Store, create a local file cluster-configuration.yaml. +1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.0.0/cluster-configuration.yaml) and open it for editing. -```bash -vi cluster-configuration.yaml -``` + ```bash + vi cluster-configuration.yaml + ``` -2. Copy all the content in the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.0.0/cluster-configuration.yaml) and paste it to the local file just created. -3. In this local cluster-configuration.yaml file, navigate to `openpitrix` and enable App Store by changing `false` to `true` for `enabled`. Save the file after you finish. +2. In this local cluster-configuration.yaml file, navigate to `openpitrix` and enable App Store by changing `false` to `true` for `enabled`. Save the file after you finish. -```bash -openpitrix: - enabled: true # Change "false" to "true" -``` + ```bash + openpitrix: + enabled: true # Change "false" to "true" + ``` -4. Execute the following command to start installation: +3. Execute the following command to start installation: -```bash -kubectl apply -f cluster-configuration.yaml -``` + ```bash + kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.0.0/kubesphere-installer.yaml + + kubectl apply -f cluster-configuration.yaml + ``` ## Enable App Store after Installation 1. Log in the console as `admin`. Click **Platform** in the top-left corner and select **Clusters Management**. - -![clusters-management](https://ap3.qingstor.com/kubesphere-website/docs/20200828111130.png) + ![clusters-management](https://ap3.qingstor.com/kubesphere-website/docs/20200828111130.png) 2. Click **CRDs** and enter `clusterconfiguration` in the search bar. Click the result to view its detailed page. @@ -87,21 +87,20 @@ A Custom Resource Definition (CRD) allows users to create a new type of resource {{}} 3. In **Resource List**, click the three dots on the right of `ks-installer` and select **Edit YAML**. - -![edit-yaml](https://ap3.qingstor.com/kubesphere-website/docs/20200827182002.png) + ![edit-yaml](https://ap3.qingstor.com/kubesphere-website/docs/20200827182002.png) 4. In this yaml file, navigate to `openpitrix` and change `false` to `true` for `enabled`. After you finish, click **Update** in the bottom-right corner to save the configuration. -```bash -openpitrix: - enabled: true # Change "false" to "true" -``` + ```bash + openpitrix: + enabled: true # Change "false" to "true" + ``` 5. You can use the web kubectl to check the installation process by executing the following command: -```bash -kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f -``` + ```bash + kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f + ``` {{< notice tip >}}