我要评分
获取效率
正确性
完整性
易理解

Enabling the KubeSphere App Store

On the back of OpenPitrix, KubeSphere provides users with a Helm-based App Store for application lifecycle management. With the one-stop service of the KubeSphere App Store, you can upload, test, install, and release apps with just a few clicks. Internally, the KubeSphere App Store can serve as a place for different teams to share data, middleware, and office applications.

Pre-downloading the Container Image Package

In other scenarios, if the pulled image does not support the Arm architecture, you can refer to this step to pull the container image package that supports the Arm architecture to the local host and replace its image tag with the default image tag. This operation can solve the image compatibility problem.

docker pull minio/minio:RELEASE.2020-11-25T22-36-25Z-arm64 
docker tag minio/mc:RELEASE.2020-11-25T23-04-07Z-arm64 minio/minio:RELEASE.2019-08-07T01-59-21Z 
docker pull minio/mc:RELEASE.2020-11-25T23-04-07Z-arm64  
docker tag minio/mc:RELEASE.2020-11-25T23-04-07Z-arm64 minio/mc:RELEASE.2019-08-07T23-14-43Z

Enabling the App Store Before Installing KubeSphere

When installing KubeSphere, modify the config-sample.yaml configuration file to enable the app store plugin.

If you need to enable the App Store in the single-node mode (for example, for testing), creating the config-sample.yaml file is not required. For details, see Enabling the App Store After Installing KubeSphere.

  1. Open the config-sample.yaml configuration file.
    vi config-sample.yaml
  2. Press i to enter the insert mode. Search for openpitrix. Under openpitrix, change the value of enabled from false to true.
    openpitrix: 
      store: 
        enabled: true # Change false to true.
  3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  4. Use the configuration file to update the cluster configuration and enable the App Store.
    ./kk create cluster -f config-sample.yaml

Enabling the App Store After Installing KubeSphere

  1. Log in to the console as user admin, click Platform Management in the upper left corner, and choose Cluster Management.
  2. Choose Customize Resource Definition, enter clusterconfiguration in the search box, and check the details page in the result.
  3. In Custom Resource, click on the right of ks-installer and select Edit YAML.
  4. In the YAML file, search for openpitrix. Under openpitrix, change the value of enabled from false to true. Click Confirm in the lower right corner to save the configuration.
    openpitrix: 
      store: 
        enabled: true # Change false to true.
  5. Run the following command in kubectl to check the KubeSphere installation log, and check the installation process:
    kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}') -f

    You can run the preceding command in kubectl from the control tools or on the management node.

    You can open the toolbox by clicking the icon in the lower right corner of the console.

    If "Welcome to KubeSphere!" is displayed in the command output, the installation is successful.