• Cloud-Native Container ProductsCloud-Native Container Products
    • KubeSphere Enterprisehot
    • KubeSphere Virtualizationhot
    • KubeSphere Enterprise HCI
  • Cloud-Native ServiceCloud-Native Service
    • KubeSphere Backuphot
    • KubeSphere Litenew
    • KubeSphere Inspectornew
  • Public Cloud Container ServicePublic Cloud Container Service
    • KubeSphere on AWS
    • KubeSphere on DigitalOcean

Enable KubeSphere components in KSV

Describes how to enable KubeSphere components in KSV.

In KubeSphere Virtualization (KSV) v1.6.0 or later, you can deploy KSV and KubeSphere in hybrid mode. This way, you can manage containers and VM workloads at the same time. This topic describes how to enable KubeSphere components in KSV.

Prerequisites

  • Make sure the current version of KSV is v1.6.0.

  • By default, KubeSphere components for monitoring, logging, audits, and events are integrated into KSV.To enable other components, you can use the open source tool KubeKey to build images and import the components.To obtain more information about KubeKey, visit GitHub KubeKey.

Procedure

  1. Log in to the KSV web console as user admin.

  2. In the lower-right corner of the page, hover over 18px and select Kubectl.

  3. In the kubectl dialog box, run the following command to enable KubeSphere components:

    kubectl -n kubesphere-system patch cc ks-installer -p '{"spec": {"common": {"core": {"console": {"enabled": true}}}}}' --type='merge'
  4. Run the following command to query logs:

    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

    common:NOTE

    • Enabling components may take a while. Wait until all processes are complete.

    • After the components are enabled, you can view the components in the System Components section on the Overview page.

KubeSphere ®️ © QingCloud Technologies 2022