Skip to content

Commit 898d91c

Browse files
glaubinixnaderman
andauthored
Apply suggestions from code review
Co-authored-by: Nils Adermann <n.adermann@packagist.com>
1 parent ab8649b commit 898d91c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/self-hosted/kubernetes-migration-guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ certain components used by your current Private Packagist Self-Hosted installati
1414

1515
## Backing up the data
1616

17-
Private Packagist Self-Hosted uses three different storages. A PostgreSQL database used as primary storage,
17+
Private Packagist Self-Hosted stores data in three different ways. A PostgreSQL database used as primary storage,
1818
a Redis database used as secondary storage, cache, and job queue, and a file/blob storage for uploaded artifacts and dist
1919
files used during composer install.
2020

2121
To avoid any data inconsistency and random errors during application usage all three of them need to be backed up and restored at the same time.
2222

23-
Please note that you won't be able to restore Private Packagist Self-Hosted Kubernetes from snapshots created via Private Packagist Self-Hosted Replicated Native.
23+
Please note that you won't be able to restore Private Packagist Self-Hosted Kubernetes from snapshots created by Private Packagist Self-Hosted Replicated Native.
2424

2525
### Stop the Private Packagist application
2626

@@ -96,7 +96,7 @@ once all the data has been restored.
9696
kubectl scale deployment ui repo worker --replicas 0
9797
```
9898

99-
To verify that all ui, repo, and worker pods have been run the command below and verify that the pods don't appear in the list anymore.
99+
To verify that all ui, repo, and worker pods have been run execute the command below and verify that the pods don't appear in the list anymore.
100100
```
101101
kubectl get pods
102102
```
@@ -106,7 +106,7 @@ kubectl get pods
106106
Follow the instructions below to restore the PostgreSQL database in the cluster.
107107
If you are using your own PostgreSQL instance, use the `packagist_db.sql` file directly to import the data into your instance.
108108

109-
Please note that the backup will overwrite any existing data in the database and any changes you made during setup will be lost.
109+
Please note that the backup will overwrite any existing data in the database and any changes you made during the setup will be lost.
110110

111111
After each scale command, use `kubectl get pods` again to verify that the postgres pod is in the correct running state.
112112

@@ -135,7 +135,7 @@ kubectl scale statefulset redis --replicas 1
135135

136136
### Import the dist and artifact files
137137

138-
Importing the dist and artifact files requires the UI pods to be back online via the command below. This will take a few seconds.
138+
Importing the dist and artifact files requires the UI pods to be back online. Start them with the command below. This will take a few seconds.
139139
You can use the second command to verify once 2/2 pods are running.
140140
```
141141
kubectl scale statefulset ui --replicas 1
@@ -172,4 +172,4 @@ background workers run as expected.
172172
### Adjust domain names
173173

174174
In case you initially set up Private Packagist Self-Hosted Kubernetes with a different domain name, you can now edit the
175-
domain names in the Admin panel, if necessary adjust your DNS entries, and shut down the old Private Packagist Self-Hosted instance.
175+
domain names in the admin panel. If necessary, adjust your DNS entries, and shut down the old Private Packagist Self-Hosted instance.

0 commit comments

Comments
 (0)