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

Commit57c2ddf

Browse files
committed
Update codefresh-runner.md
1 parent5eedd36 commit57c2ddf

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

‎_docs/administration/codefresh-runner.md‎

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -341,22 +341,21 @@ parameters:
341341
kubectl apply -f dind-ebs.yaml
342342
```
343343
**Step 3:** Get the YAML representation of the runtime you just added:
344-
* Get a list of all available runtimes:
344+
* Get a list of all available runtimes:
345345
```shell
346346
codefresh get runtime-environments
347347
```
348-
349-
* Select the runtime you just added, and get its YAML representation:
348+
* Select the runtime you just added, and get its YAML representation:
350349
```shell
351350
codefresh get runtime-environments my-eks-cluster/codefresh -o yaml> runtime.yaml
352351
```
353352

354353
**Step 4:** Modify the YAML:
355-
* In`dockerDaemonScheduler.cluster`, add`nodeSelector: topology.kubernetes.io/zone:<your_az_here>`.
356-
> Make sure you define the same AZ you selectedfor Runtime Configuration.
357-
* Modify`pvcs.dind` to use the Storage Class you created above (`dind-ebs`).
354+
* In`dockerDaemonScheduler.cluster`, add`nodeSelector: topology.kubernetes.io/zone:<your_az_here>`.
355+
> Make sure you define the same AZ you selectedfor Runtime Configuration.
356+
* Modify`pvcs.dind` to use the Storage Class you created above (`dind-ebs`).
358357

359-
Here is an example of the`runtime.yaml` including the required updates:
358+
Here is an example of the`runtime.yaml` including the required updates:
360359

361360

362361
```yaml
@@ -1295,20 +1294,21 @@ https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#h
12951294

12961295
**How to**
12971296

1298-
1. Make sure target the correct cluster:
1297+
* Make sure target the correct cluster:
12991298

13001299
```shell
13011300
$ kubectl config current-context
13021301
my-aws-runner
13031302
```
13041303

1305-
1. Install the Runner with additional options:
1306-
* Specify the zonein which to create your volumes,for example:`--set-value=Storage.AvailabilityZone=us-west-2a`.
1307-
* (Optional) To assign the volume-provisioner to a specific node,for example, a specific node group with an IAM role that can create EBS volumes,`--set-value Storage.VolumeProvisioner.NodeSelector=node-type=addons`.
1308-
* 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`.
1309-
* If you already have a key, add its ARN via`--set-value=Storage.KmsKeyId=<key id> value`. Otherwise a key is generated by AWS.
1304+
* Install the Runner with additional options:
1305+
* Specify the zonein which to create your volumes,for example:`--set-value=Storage.AvailabilityZone=us-west-2a`.
1306+
* (Optional) To assign the volume-provisioner to a specific node,for example, a specific node group with an IAM role that can create EBS volumes,`--set-value Storage.VolumeProvisioner.NodeSelector=node-type=addons`.
1307+
* 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`.
1308+
* If you already have a key, add its ARN via`--set-value=Storage.KmsKeyId=<key id> value`. Otherwise a key is generated by AWS.
1309+
1310+
Here is an example with _all_ the options configured:
13101311

1311-
Here is an example with _all_ the options configured:
13121312
```shell
13131313
codefresh runner init \
13141314
--name my-aws-runner \
@@ -1323,15 +1323,12 @@ codefresh runner init \
13231323
```
13241324
For descriptions of the other options, run`codefresh runner init --help` ([global parameter table](#customizing-the-wizard-installation)).
13251325

1326-
{:start="3"}
1327-
1. When the Wizard completes the installation, modify the runtime environment of`my-aws-runner` to specify the necessary toleration, nodeSelector and disk size:
1326+
* When the Wizard completes the installation, modify the runtime environment of`my-aws-runner` to specify the necessary toleration, nodeSelector and disk size:
13281327
* Run:
13291328
```shell
13301329
codefresh get re --limit=100 my-aws-runner/cf -o yaml> my-runtime.yml
13311330
```
1332-
13331331
* Modify the file`my-runtime.yml` as shown below:
1334-
13351332
```yaml
13361333
version: null
13371334
metadata:
@@ -1385,8 +1382,7 @@ description: 'Runtime environment configure to cluster: my-aws-runner and namesp
13851382
accountId: 5cb563d0506083262ba1f327
13861383
```
13871384

1388-
{:start="4"}
1389-
1. Apply changes.
1385+
* Apply changes.
13901386
```shell
13911387
codefresh patch re my-aws-runner/cf -f my-runtime.yml
13921388
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp