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

Commit65e481d

Browse files
added engine image change
1 parent9dff5b1 commit65e481d

File tree

1 file changed

+35
-8
lines changed

1 file changed

+35
-8
lines changed

‎_docs/administration/codefresh-runner.md‎

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ With hybrid runner it's possibe to run native ARM64v8 builds.
16091609
16101610
The following scenario is an example of how to set up ARM Runner on existing EKS cluster:
16111611
#####Step 1 - Preparing nodes
1612-
Createanew ARM nodegroup
1612+
Create new ARM nodegroup:
16131613

16141614
```shell
16151615
eksctl utils update-coredns --cluster<cluster-name>
@@ -1627,7 +1627,7 @@ eksctl create nodegroup \
16271627
--managed
16281628
```
16291629

1630-
Checkthe status for your nodes:
1630+
Checknodes status:
16311631

16321632
```shell
16331633
kubectl get nodes -l kubernetes.io/arch=arm64
@@ -1679,18 +1679,45 @@ Runtime:
16791679
{% endraw %}
16801680
{% endhighlight %}
16811681

1682-
Install therunner with:
1682+
Install theRunner with:
16831683
```shell
16841684
codefresh runner init --values values-arm.yaml --exec-demo-pipelinefalse --skip-cluster-integrationtrue
16851685
```
16861686

1687-
In case of local storage patch`dind-lv-monitor-runner` DaemonSet:
1687+
#####Step 3 - Post-installation fixes
1688+
1689+
Change`engine` image version in Runtime Environment specification:
16881690

16891691
```shell
1690-
kubectl edit ds dind-lv-monitor-runner
1692+
# get the latest engine ARM64 tag
1693+
curl -X GET"https://quay.io/api/v1/repository/codefresh/engine/tag/?limit=100" --silent| jq -r'.tags[].name'| grep"^1.*arm64$"
1694+
1.136.1-arm64
1695+
```
1696+
1697+
```shell
1698+
# get runtime spec
1699+
codefresh get re$RUNTIME_NAME -o yaml> runtime.yaml
16911700
```
16921701

1693-
And add`nodeSelector`:
1702+
under`runtimeScheduler.image` change image tag:
1703+
{% highlight yaml %}
1704+
{% raw %}
1705+
runtimeScheduler:
1706+
image: 'quay.io/codefresh/engine:1.136.1-arm64'
1707+
{% endraw %}
1708+
{% endhighlight %}
1709+
1710+
1711+
```shell
1712+
# patch runtime spec
1713+
codefresh patch re -f runtime.yaml
1714+
```
1715+
1716+
For`local` storage patch`dind-lv-monitor-runner` DaemonSet and add`nodeSelector`:
1717+
1718+
```shell
1719+
kubectl edit ds dind-lv-monitor-runner
1720+
```
16941721
{% highlight yaml %}
16951722
{% raw %}
16961723
spec:
@@ -1699,9 +1726,9 @@ And add `nodeSelector`:
16991726
{% endraw %}
17001727
{% endhighlight %}
17011728

1702-
#####Step3 - Run Demo pipeline
1729+
#####Step4 - Run Demo pipeline
17031730

1704-
Run a modified version of the CF_Runner_Demo pipeline:
1731+
Run a modified version of the*CF_Runner_Demo* pipeline:
17051732
{% highlight yaml %}
17061733
{% raw %}
17071734
version: '1.0'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp