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-on-prem.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -622,7 +622,7 @@ postgresql:
622
622
623
623
If you would prefer running the seed job manually, you can do it by using a script present in `your/stage-dir/codefresh/addons/seed-scripts` directory named `postgres-seed.sh`. The script takes the following set of variables that you need to have set before running it:
624
624
625
-
```sh
625
+
```shell
626
626
export POSTGRES_SEED_USER="postgres"
627
627
export POSTGRES_SEED_PASSWORD="zDyGp79XyZEqLq7V"
628
628
export POSTGRES_USER="cf_user"
@@ -637,10 +637,10 @@ However you **still need to specify a set of values** in the Codefresh config fi
To configure existing Runner with Local SSDs follow this article:
1202
1207
1203
1208
[How-to: Configuring an existing Runtime Environment with Local SSDs (GKE only)](https://support.codefresh.io/hc/en-us/articles/360016652920-How-to-Configuring-an-existing-Runtime-Environment-with-Local-SSDs-GKE-only-)
1204
1209
1205
-
####GCE Disks
1210
+
**GCE Disks**
1206
1211
1207
1212
If you want to use *GCE Disks*:
1208
1213
1209
1214
*Prerequisites:* volume provisioner (dind-volume-provisioner) should have permissions to create/delete/get GCE disks
1210
1215
1211
-
There are 3 options to provide cloud credentials on GCE:
1216
+
There are 3 options to provide cloud credentials:
1212
1217
1213
1218
* run `dind-volume-provisioner-runner` pod on a node with IAM role which is allowed to create/delete/get GCE disks
1214
1219
* create Google Service Account with `ComputeEngine.StorageAdmin` role, download its key in JSON format and pass it to `codefresh runner init` with `--set-file=Storage.GooogleServiceAccount=/path/to/google-service-account.json`
Create the binding between Kubernetes service account and Google service account:
1289
1294
@@ -1311,59 +1316,37 @@ If you have Kubernetes nodes running in multiple Availability Zones and wish to
1311
1316
1312
1317
**Option A** - Provision a new Kubernetes cluster: a cluster that runs in a single AZ only. - The cluster should be dedicated for usage with the Codefresh runner. This is the preferred solution and avoids extra complexity.
1313
1318
1314
-
**Option B** - Install Codefresh runner in your multi-zone cluster, and let it run in the default Node Pool: - in this case, you must specify `--build-node-selector=<node-az-label>` (e.g.: `--build-node-selector=failure-domain.beta.kubernetes.io/zone=us-central1-a`) or simply modify the Runtime environment as below:
1319
+
**Option B** - Install Codefresh runner in your multi-zone cluster, and let it run in the default Node Pool: - in this case, you must specify `--build-node-selector=<node-az-label>` (e.g.: `--build-node-selector=topology.kubernetes.io/zone=us-central1-c`) or simply modify the Runtime environment as below: