Enable DevOps in KubeSphere

In this blog, we will enable DevOps in KubeSphere.

Prerequisites:

  1. You have Civo account.
  2. KubeSphere is configured on Civo as per my first blog in this series.

How to enable DevOps in KubeSphere?

  1. Login into KubeSphere with your account credentials.
  2. You can see dashboard of KubeSphere. Click on Platform (left upper side) button. You will see as given below: 1.jpeg
  3. Click on Cluster Management section. You will see page as given below: 2.jpeg
  4. Click on CRDs tab, add clusterconfiguration in search bar and press Enter. You will see ClusterConfiguration CRD in a list. The CRD (Custom Resource Definition) extends Kubernetes by allowing users to create any kind of custom resources. Users can use these CRD objects as they do for built-in resources. 3.jpeg
  5. Click on ClusterConfiguration CRD. You will see detail of it. Click on 3 dots and select Edit YAML option for ks-installer in Custom Resources section. 4.jpeg
  6. You will see YAML file as given below. Search for devops and change false to true for enabled. Click OK button to save this configuration. 5.jpeg
  7. Click on hammer icon and click on kubectl button under Control Tool section. Use this command to check installation in kubectl: kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f. You will see success message after installation like given below. Click on X (close) button. 6.jpeg
  8. Click on CRDs button (left upper side)
  9. To verify installation, click on System Components tab and click on DevOps tab. You will see all DevOps components are in healthy status. 7.jpeg

Congratulations! We successfully enabled DevOps in KubeSphere.