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

Commit87bb714

Browse files
committed
Update codefresh-runner.md
1 parent207cd64 commit87bb714

File tree

1 file changed

+27
-20
lines changed

1 file changed

+27
-20
lines changed

‎_docs/administration/codefresh-runner.md‎

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ There are three options for this:
286286
**Step 1:** Create Storage Class for EBS volumes:
287287
>Choose **one** of the Availability Zones (AZs)to be used for your pipeline builds. Multi AZ configuration is not supported.
288288
289-
* **Storage Class (gp2)**
289+
* **Storage Class (gp2)**
290+
290291
```yaml
291292
kind: StorageClass
292293
apiVersion: storage.k8s.io/v1
@@ -307,7 +308,8 @@ parameters:
307308
# ext4 or xfs (default to xfs, ensure that there is xfstools )
308309
fsType: xfs
309310
```
310-
* **Storage Class (gp3)**
311+
* **Storage Class (gp3)**
312+
311313
```yaml
312314
kind: StorageClass
313315
apiVersion: storage.k8s.io/v1
@@ -334,12 +336,12 @@ parameters:
334336
# Max - 1000.
335337
throughput: "500"
336338
```
337-
**Step 2:** Apply storage class manifest:
339+
**Step 2:** Apply storage class manifest:
338340
```shell
339341
kubectl apply -f dind-ebs.yaml
340342
```
341-
**Step 3:** Get the YAML representation of the runtime you just added:
342-
* Get a list of all available runtimes:
343+
**Step 3:** Get the YAML representation of the runtime you just added:
344+
* Get a list of all available runtimes:
343345
```shell
344346
codefresh get runtime-environments
345347
```
@@ -1293,7 +1295,7 @@ my-aws-runner
12931295
* To use [encrypted EBS volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_key_mgmt){:target="\_blank"}, add the custom value`--set-value=Storage.Encrypted=true`.
12941296
* If you already have a key, add its ARN via`--set-value=Storage.KmsKeyId=<key id> value`. Otherwise a key is generated by AWS.
12951297
1296-
Here is an example with _all_ the options configured:
1298+
Here is an example with _all_ the options configured:
12971299
```shell
12981300
codefresh runner init \
12991301
--name my-aws-runner \
@@ -1306,8 +1308,7 @@ codefresh runner init \
13061308
--set-value=Storage.Encrypted=[false|true] \
13071309
--set-value=Storage.KmsKeyId=<key id>
13081310
```
1309-
For descriptions of the other options, run`codefresh runner init --help` ([global parameter table](#customizing-the-wizard-installation)).
1310-
1311+
For descriptions of the other options, run`codefresh runner init --help` ([global parameter table](#customizing-the-wizard-installation)).
13111312
{:start="3"}
13121313
1. When the Wizard completes the installation, modify the runtime environment of`my-aws-runner` to specify the necessary toleration, nodeSelector and disk size:
13131314
* Run:
@@ -1610,7 +1611,7 @@ Storage:
16101611
```shell
16111612
codefresh runner init --values values-example.yaml
16121613
```
1613-
* Helm chart [values.yaml](https://github.com/codefresh-io/venona/blob/release-1.0/charts/cf-runtime/values.yaml){:target="\_blank"}:
1614+
* Helm chart [values.yaml](https://github.com/codefresh-io/venona/blob/release-1.0/charts/cf-runtime/values.yaml){:target="\_blank"}:
16141615
```
16151616
storage:
16161617
backend: azuredisk
@@ -1620,6 +1621,7 @@ storage:
16201621
volumeProvisioner:
16211622
mountAzureJson: true
16221623
```
1624+
16231625
```
16241626
helm install cf-runtime cf-runtime/cf-runtime -f ./generated_values.yaml -f values.yaml --create-namespace --namespace codefresh
16251627
```
@@ -1749,7 +1751,7 @@ RunAwsCli:
17491751
## Runtime environment specification
17501752
17511753
The following section describes the runtime environment specification and possible options to modify it.
1752-
Notice that there are additional and hidden fields that are autogenerated by Codefresh that complete a full runtime spec. You can view and edit these fields only for [Codefresh On-Premises Installation]({{site.baseurl}}/docs/administration/codefresh-on-prem/)).
1754+
Notice that there are additional and hidden fields that are autogenerated by Codefresh that complete a full runtime spec. You can view and edit these fields only for [Codefresh On-Premises Installation]({{site.baseurl}}/docs/administration/codefresh-on-prem/).
17531755
17541756
### Modify runtime
17551757
1. Get a list of all available runtimes:
@@ -2045,7 +2047,8 @@ The following scenario is an example of how to set up ARM Runner on existing EKS
20452047
**Step 1: Preparing nodes**
20462048
20472049
2048-
1. Create new ARM nodegroup:
2050+
* Create new ARM nodegroup:
2051+
20492052
```shell
20502053
eksctl utils update-coredns --cluster <cluster-name>
20512054
eksctl utils update-kube-proxy --cluster <cluster-name> --approve
@@ -2061,19 +2064,21 @@ eksctl create nodegroup \
20612064
--nodes-max <4>\
20622065
--managed
20632066
```
2064-
1. Check nodes status:
2067+
* Check nodes status:
2068+
20652069
```shell
20662070
kubectl get nodes -l kubernetes.io/arch=arm64
20672071
```
2068-
1. Also it's recommeded to label and taint the required ARM nodes:
2072+
* Also it's recommeded to label and taint the required ARM nodes:
2073+
20692074
```shell
20702075
kubectl taint nodes<node> arch=aarch64:NoSchedule
20712076
kubectl label nodes<node> arch=arm
20722077
```
20732078
20742079
**Step 2: Runner installation**
20752080
2076-
1. Use [values.yaml](https://github.com/codefresh-io/venona/blob/release-1.0/venonactl/example/values-example.yaml) to inject`tolerations`,`kube-node-selector`,`build-node-selector` into the Runtime Environment spec.
2081+
* Use [values.yaml](https://github.com/codefresh-io/venona/blob/release-1.0/venonactl/example/values-example.yaml) to inject`tolerations`,`kube-node-selector`,`build-node-selector` into the Runtime Environment spec.
20772082
20782083
`values-arm.yaml`
20792084
@@ -2109,14 +2114,15 @@ Runtime:
21092114
...
21102115
```
21112116
2112-
1. Install the Runner:
2117+
* Install the Runner:
21132118
```shell
21142119
codefresh runner init --values values-arm.yaml --exec-demo-pipelinefalse --skip-cluster-integrationtrue
21152120
```
21162121
2117-
**Step 3 - Post-installation fixes**
2122+
**Step 3: Post-installation fixes**
2123+
2124+
* Change`engine` image versionin Runtime Environment specification:
21182125
2119-
1. Change`engine` image versionin Runtime Environment specification:
21202126
```shell
21212127
# get the latest engine ARM64 tag
21222128
curl -X GET"https://quay.io/api/v1/repository/codefresh/engine/tag/?limit=100" --silent| jq -r'.tags[].name'| grep"^1.*arm64$"
@@ -2126,7 +2132,8 @@ curl -X GET "https://quay.io/api/v1/repository/codefresh/engine/tag/?limit=100"
21262132
# get runtime spec
21272133
codefresh get re$RUNTIME_NAME -o yaml> runtime.yaml
21282134
```
2129-
1. Under`runtimeScheduler.image` change image tag:
2135+
* Under`runtimeScheduler.image` change image tag:
2136+
21302137
```yaml
21312138
runtimeScheduler:
21322139
image:'quay.io/codefresh/engine:1.136.1-arm64'
@@ -2135,7 +2142,7 @@ runtimeScheduler:
21352142
# patch runtime spec
21362143
codefresh patch re -f runtime.yaml
21372144
```
2138-
1. For`local` storage patch`dind-lv-monitor-runner` DaemonSet and add`nodeSelector`:
2145+
* For`local` storage patch`dind-lv-monitor-runner` DaemonSet and add`nodeSelector`:
21392146
21402147
```shell
21412148
kubectl edit ds dind-lv-monitor-runner
@@ -2147,7 +2154,7 @@ kubectl edit ds dind-lv-monitor-runner
21472154
arch: arm
21482155
```
21492156
2150-
**Step 4 - Run Demo pipeline**
2157+
**Step 4: Run Demo pipeline**
21512158
21522159
Run a modified version of the*CF_Runner_Demo* pipeline:
21532160

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp