- Install KubeSphere via kk (or other ways). This is an optional step, basically we need a Kubernetes Cluster and the front-end of DevOps.
- Install
ks-devopsvia chart - Replace the images of
ks-apiserverandks-controller-manager. In current phase, we need to use a temporary images of KubeSphere which comes from the branch remove-devops-ctrl:
kubespheredev/ks-apiserver:remove-devops-ctrlkubespheredev/ks-controller-manager:remove-devops-ctrl
Want to go into deep? Please checkout the documentation.
First, please clone this git repository. Then run command: make install-chart
Technically, apiserver and controller are all binary files. So, it's possible to run them in your local environment. You just need to make sure that the connection between your environment and a Kubernetes cluster works well. This is a default config file of these components, please see also the sample file.
ks is an official client of KubeSphere. You can create a Pipeline by it.
ks pip create --ws simple --template java --project default --skip-check -b good
For example, you can access an API like:
curl -H "Authorization: bearer xxxx" \
http://localhost:9090/kapis/devops.kubesphere.io/v1alpha3/devops/testblpsz/pipelinesPlease get a token from Kubernetes cluster, and replace
xxxxwith it.
If you're going to update or add CRD go struct, please run the following command once done with that:
make manifests generate generate-listers
then, it can generate CRDs and DeepCopy methods.
- A separate front-end project of ks-devops
- Install
ks-devopsvia helm chart in ks-installer - Auth support
- OIDC support as a default provider
octant-ks-devops is a plugin of octant. It provides a dashboard for Kubernetes and ks-devops.