Skip to content

Commit

Permalink
docs: fix rendering of restore mons doc
Browse files Browse the repository at this point in the history
The restore quorum doc had some extra output and also
neeed consistent formatting between the blocks of
output.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
  • Loading branch information
travisn committed Oct 20, 2022
1 parent a62d087 commit c230f4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/mons.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ kubectl rook-ceph mons restore-quorum a
Before the restore proceeds, you will be prompted if you want to continue.
For example, here is the output in a test cluster up to the point of starting the restore.

```console
```
$ kubectl rook-ceph mons restore-quorum c
mon=b, endpoint=192.168.64.168:6789
mon=c, endpoint=192.168.64.167:6789
Expand All @@ -54,10 +54,6 @@ deployment.apps/rook-ceph-tools condition met
Warning: Restoring mon quorum to mon c (192.168.64.167)
Info: The mons to discard are: b a
Info: Are you sure you want to restore the quorum to mon "c"? If so, enter: yes-really-restore

Info: Mon quorum was successfully restored to mon c
Info: Only a single mon is currently running
Info: Press Enter to start the operator and expand to full mon quorum again
```

After entering `yes-really-restore`, the restore continues with output as such:
Expand Down

0 comments on commit c230f4b

Please sign in to comment.