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

onprem-update-1.4 seedJobs note#585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mikhail-klimko merged 2 commits intomasterfromonprem-update-1.4
Feb 21, 2023
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion_docs/administration/codefresh-on-prem-upgrade.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -471,6 +471,12 @@ From version **1.4.0 and higher**, we have deprecated support for the `Codefresh

> If you run [**external** Postgresql service]({{site.baseurl}}/docs/administration/codefresh-on-prem/#configuring-an-external-postgres-database) (i.e. `postgresql.enabled=false` is specified in `config.yaml`), you can skip the following instruction.

> **Important!** Run the upgrade with `global.seedJobs=true` flag:
```yaml
global:
seedJobs: true
```

##### Manual backup and restore

**Before the upgrade:**
Expand DownExpand Up@@ -514,7 +520,7 @@ kubectl port-forward --namespace codefresh svc/cf-postgresql 5432:5432
Restore the contents of the backup into the new release using the *pg_restore* tool. If this tool is not available on your system, mount the directory containing the backup files as a volume in Bitnami's PostgreSQL Docker container and use the *pg_restore* client tool in the container image to import the backup into the new cluster, as shown below:
```shell
cd psqlbackup
docker run --rm --name postgresql-backup -e PGPASSWORD=$PGPASSWORD -v $(pwd):/app --net="host" bitnami/postgresql:13 pg_restore --Fc --create --dbname postgres -h host.docker.internal -p 5432 /app/audit.dump
docker run --rm --name postgresql-backup -e PGPASSWORD=$PGPASSWORD -v $(pwd):/app --net="host" bitnami/postgresql:13 pg_restore -Fc --create --dbname postgres -h host.docker.internal -p 5432 /app/audit.dump
```

##### Backup and restore via Helm hooks
Expand DownExpand Up@@ -547,6 +553,12 @@ From version **1.4.0 and higher**, we have deprecated support for the `Codefresh

> If you run [**external** MongoDB service]({{site.baseurl}}/docs/administration/codefresh-on-prem/#configuring-an-external-mongodb) (i.e. `mongo.enabled=false` is specified in `config.yaml`), you can skip the following instruction.

> **Important!** Run the upgrade with `global.seedJobs=true` flag:
```yaml
global:
seedJobs: true
```

##### Manual backup and restore

**Before the upgrade:**
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp