@@ -672,7 +672,7 @@ Data that was created on the primary while the secondary was paused is lost.
If you are running GitLab 14.5 and later:
1.SSH to every Sidekiq, PostgresSQL, and Gitaly node in the **secondary** site and run one of the following commands:
1.For each node outside of the **secondary** Kubernetes cluster using Omnibus such as PostgreSQL or Gitaly, SSH into the node and run one of the following commands:
- To promote the secondary node to primary:
...
...
@@ -686,19 +686,17 @@ If you are running GitLab 14.5 and later:
sudo gitlab-ctl geo promote --force
```
1.SSH into each Rails node on your **secondary** site and run one of the following commands:
1.Find the `toolbox` pod:
- To promote the secondary node to primary:
```shell
sudo gitlab-ctl geo promote
```
```shell
kubectl --namespace gitlab get pods -lapp=toolbox
```
- To promote the secondary node to primary **without any further confirmation**:
@@ -709,8 +707,6 @@ If you are running GitLab 14.4 and earlier:
sudo gitlab-ctl promote-db
```
In GitLab 12.8 and earlier, see [Message: `sudo: gitlab-pg-ctl: command not found`](../replication/troubleshooting.md#message-sudo-gitlab-pg-ctl-command-not-found).
1. Edit `/etc/gitlab/gitlab.rb` on the database node in the **secondary** site to
reflect its new status as **primary** by removing any lines that enabled the