You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/administration/codefresh-runner.md
+27-20Lines changed: 27 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,7 +286,8 @@ There are three options for this:
286
286
**Step 1:** Create Storage Class for EBS volumes:
287
287
>Choose **one** of the Availability Zones (AZs)to be used for your pipeline builds. Multi AZ configuration is not supported.
288
288
289
-
* **Storage Class (gp2)**
289
+
* **Storage Class (gp2)**
290
+
290
291
```yaml
291
292
kind: StorageClass
292
293
apiVersion: storage.k8s.io/v1
@@ -307,7 +308,8 @@ parameters:
307
308
# ext4 or xfs (default to xfs, ensure that there is xfstools )
308
309
fsType: xfs
309
310
```
310
-
* **Storage Class (gp3)**
311
+
* **Storage Class (gp3)**
312
+
311
313
```yaml
312
314
kind: StorageClass
313
315
apiVersion: storage.k8s.io/v1
@@ -334,12 +336,12 @@ parameters:
334
336
# Max - 1000.
335
337
throughput: "500"
336
338
```
337
-
**Step 2:** Apply storage class manifest:
339
+
**Step 2:** Apply storage class manifest:
338
340
```shell
339
341
kubectl apply -f dind-ebs.yaml
340
342
```
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:
343
345
```shell
344
346
codefresh get runtime-environments
345
347
```
@@ -1293,7 +1295,7 @@ my-aws-runner
1293
1295
* 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`.
1294
1296
* If you already have a key, add its ARN via`--set-value=Storage.KmsKeyId=<key id> value`. Otherwise a key is generated by AWS.
1295
1297
1296
-
Here is an example with _all_ the options configured:
1298
+
Here is an example with _all_ the options configured:
1297
1299
```shell
1298
1300
codefresh runner init \
1299
1301
--name my-aws-runner \
@@ -1306,8 +1308,7 @@ codefresh runner init \
1306
1308
--set-value=Storage.Encrypted=[false|true] \
1307
1309
--set-value=Storage.KmsKeyId=<key id>
1308
1310
```
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)).
1311
1312
{:start="3"}
1312
1313
1. When the Wizard completes the installation, modify the runtime environment of`my-aws-runner` to specify the necessary toleration, nodeSelector and disk size:
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/).
1753
1755
1754
1756
### Modify runtime
1755
1757
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
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
+
2069
2074
```shell
2070
2075
kubectl taint nodes<node> arch=aarch64:NoSchedule
2071
2076
kubectl label nodes<node> arch=arm
2072
2077
```
2073
2078
2074
2079
**Step 2: Runner installation**
2075
2080
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.