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
Log in to the KSV web console as user admin.
In the lower-right corner of the page, hover over and select Kubectl.
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'
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.