Source-to-image(S2I)-Operator is a Kubernetes Custom Resource Defintion (CRD) controller that provides easy Kubernetes-style resources for declaring CI/CD-style pipelines. S2I Operator create a ready-to-run images by injecting source code into a container image and letting the container prepare that source code for execution. And create workload automatically with ready-to-run images.
Compare with native S2I, S2I Operator also has the following advantages on the original foundation.
You can install S2I Operator in any kubernetes cluster with following commands:
# create a namespaces, such as kubesphere-devops-system
kubectl create ns kubesphere-devops-system
# create S2I Operator and all CRD
kubectl apply -f https://github.com/kubesphere/s2ioperator/releases/download/v0.0.2/s2ioperator.yaml
Now monitor the S2I Operator components show a STATUS
of Running
:
# please change you namespace
kubectl -n kubesphere-devops-system get pods -w
Here is quick-start to walk you through the process, with a quick overview of the core features of S2I Operator that helps you to get familiar with it.
If you want to get a better experience with S2I Operator, perhaps you can use S2I CI/CD in KubeSphere.
We are so excited to have you!