Skip to content

Commit 9bdd1dc

Browse files
Update instructions for stop/start and tarball delete command
1 parent 066cdcd commit 9bdd1dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ kubectl scale statefulset redis --replicas 1
138138
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
```
141-
kubectl scale statefulset ui --replicas 1
141+
kubectl scale deployment ui --replicas 1
142142
kubectl get pods -w
143143
```
144144

@@ -148,15 +148,15 @@ it can take several minutes for this command to finish.
148148
```
149149
export UI_POD=$(kubectl get pods --no-headers -o custom-columns=":metadata.name"|grep ui-)
150150
kubectl cp packagist_storage.tar.gz $UI_POD:/tmp/packagist_storage.tar.gz -c ui
151-
kubectl exec $UI_POD -c ui -- /bin/sh -c "/srv/manager/bin/console packagist:self-hosted:migrate-storage import /tmp/packagist_storage.tar.gz && rm /tmp/packagist_storage.tar.gz"
151+
kubectl exec $UI_POD -c ui -- /bin/sh -c "/srv/manager/bin/console packagist:self-hosted:migrate-storage import /tmp/packagist_storage.tar.gz && rm /tmp/packagist_storage.tar"
152152
```
153153

154154
### Start the Private Packagist application
155155

156156
Once your data has been restored. Start the application:
157157

158158
```
159-
kubectl scale deployment ui --replicas 1
159+
kubectl scale deployment ui repo worker --replicas 1
160160
```
161161

162162
This can take a few minutes. You can run the command below to see when all pods are back up and running.

0 commit comments

Comments
 (0)