From 5a1bfcc0eff83d870d2704c8831a0daea30a387c Mon Sep 17 00:00:00 2001 From: pengfei Date: Mon, 23 Dec 2019 10:47:25 +0800 Subject: [PATCH] refine s2i_b2i_overview.md --- .../concepts-and-designs/s2i_b2i_overview.md | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/docs/en/concepts-and-designs/s2i_b2i_overview.md b/docs/en/concepts-and-designs/s2i_b2i_overview.md index d5f9d62be..dc45bbb3c 100644 --- a/docs/en/concepts-and-designs/s2i_b2i_overview.md +++ b/docs/en/concepts-and-designs/s2i_b2i_overview.md @@ -1,12 +1,20 @@ -# Kubesphere S2I/B2I overview +# KubeSphere S2I/B2I overview -Kubesphere S2I/B2I provides easy CI/CD functionality. +## What is S2I/B2I -It will installed in namespaces `kubesphere-devops-system` by enable devops component. +Kubesphere S2I(Source-to-Image) / B2I(Binary-to-Image) provides easy CI/CD functionalities, help developers to publish their service to Kubernetes without writing Dockefile. -In S2I, all resource and CI/CD steps are defined with [Custom Resource Defintion](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) (CRD). You can operate all s2i resource by call k8s api directly. +## Workflow Example -There are two mudule included in the S2I component: +![](https://pek3b.qingstor.com/kubesphere-docs/png/20191223103533.png) + +## Principle + +All resources of S2I/B2I will be installed in namespace `kubesphere-devops-system` by enable devops component. + +In S2I, all resources and CI/CD steps are defined with [Custom Resource Defintion](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) (CRD). You can operate all s2i resources by call k8s api directly. + +There are two mudules included in the S2I component: 1. S2I Operator: A Kubernetes CRD controller that provides easy Kubernetes-style resources for declaring CI/CD-style pipelines 2. S2IRun: It is the instance that executes the s2i build process in containers. @@ -17,6 +25,6 @@ Besides, the S2I stack includes following CRD resources: 2. s2ibuilders: all configuration information used in building are stored in this CRD. 3. s2iruns: defines an action about build -Also you can install S2I component in any kubernetes cluster without kubesphere. +Also you can install S2I component in any kubernetes cluster without KubeSphere. -Want to see more about s2i, please jump to [S2I Operator](https://github.com/kubesphere/s2ioperator) and [S2IRun](https://github.com/kubesphere/s2irun) \ No newline at end of file +Want to see more about s2i, please jump to [S2I Operator](https://github.com/kubesphere/s2ioperator) and [S2IRun](https://github.com/kubesphere/s2irun)