Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ef3f03

Browse files
Merge pull request#392 from codefresh-io/CR-5118
upd codefresh-runner.md
2 parents665ceaf +593c6c2 commit5ef3f03

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

‎_docs/administration/codefresh-runner.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,26 @@ For the storage options needed by the `dind` pod we suggest:
267267
268268
All CNI providers/plugins are compatible with the runner components.
269269
270+
## Runner architecture overview
271+
272+
{% include image.html
273+
lightbox="true"
274+
file="/images/administration/runner/codefresh_runner.png"
275+
url="/images/administration/runner/codefresh_runner.png"
276+
alt="Codefresh Runner architecture overview"
277+
caption="Codefresh Runner architecture overview"
278+
max-width="100%"
279+
%}
280+
281+
282+
1. [Runtime-Environment specification]({{site.baseurl}}/docs/administration/codefresh-runner/) defines engine and dind pods spec and PVC parameters.
283+
2. Runner pod (Agent) pulls tasks (Builds) from Codefresh API every 3 seconds.
284+
3. Once the agent receives build task (either Manual run build or Webhook triggered build) it calls k8s API to create engine/dind pods and PVC object.
285+
4. Volume Provisioner listens for PVC events (create) and based on StorageClass definition it creates PV object with the corresponding underlying volume backend (ebs/gcedisk/local).
286+
5. During the build, each step (clone/build/push/freestyle/composition) is represented as docker container inside dind (docker-in-docker) pod. Shared Volume (`/codefresh/volume`) is represented as docker volume and mounted to every step (docker containers). PV mount point inside dind pod is `/var/lib/docker`.
287+
6. Engine pod controls dind pod. It deserializes pipeline yaml to docker API calls, terminates dind after build has been finished or per user request (sigterm).
288+
7. `dind-lv-monitor` DaemonSet OR `dind-volume-cleanup` CronJob are part of [Runtime Cleaner]({{site.baseurl}}/docs/administration/codefresh-runner/#runtime-cleaners), `app-proxy` Deployment and Ingress are described in the [next section]({{site.baseurl}}/docs/administration/codefresh-runner/#app-proxy-installation), `monitor` Deployment is for [Kubernetes Dashboard]({{site.baseurl}}/docs/deploy-to-kubernetes/manage-kubernetes/).
289+
270290
## App Proxy installation
271291
272292
The App Proxy is an **optional** component of the runner that once installed:
155 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp