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
Scale down `deployments` and `statefulSets` that access the database, _this step prevents services from accessing the database while schema migrations are in process._
1036
1038
The following services must have their replicas scaled to 0:
@@ -1049,13 +1051,15 @@ The following convenience commands provide an example of scaling down the necess
Release "sourcegraph-migrator" has been upgraded. Happy Helming!
1084
1088
NAME: sourcegraph-migrator
@@ -1091,7 +1095,7 @@ TEST SUITE: None
1091
1095
👉 Migrating to v4.5 (step 3 of 3)
1092
1096
👉 Running schema migrations
1093
1097
✅ Schema migrations complete
1094
-
```
1098
+
```
1095
1099
1096
1100
You can learn more about running migrator operations in helm in the [migrator operations doc](/admin/updates/migrator/migrator-operations#kubernetes-helm).
1097
1101
@@ -1101,15 +1105,15 @@ Now that the databases have been migrated to the latest versions, services can b
You can revert to a previous version with the following command:
1109
1113
1110
1114
```sh
1111
1115
$ helm rollback sourcegraph
1112
-
````
1116
+
```
1113
1117
1114
1118
If you are rolling back more than a single version, then you must also [roll back your database](/admin/how-to/rollback_database), as database migrations (which may have run at some point during the upgrade) are guaranteed to be compatible with one previous minor version.
1115
1119
@@ -1121,6 +1125,30 @@ In some situations, administrators may wish to migrate their databases before up
1121
1125
1122
1126
To execute the database migrations independently, you can use the [Sourcegraph Migrator] helm chart.
1123
1127
1128
+
## Using Helm in restricted environment
1129
+
1130
+
Some customers may not be allowed to directly install applications from a remote Helm Registry. In these cases, you may choose to download the chart to inspect the content, then install it locally.
1131
+
1132
+
It's recommended to commit your charts in a VCS repo and namespace by versions:
1133
+
1134
+
```
1135
+
charts/
1136
+
sourcegraph-6.1.0/
1137
+
sourcegraph-6.2.0/
1138
+
```
1139
+
1140
+
Download and untar to a specific directory at `charts/sourcegraph-$VERSION`:
0 commit comments