Merge pull request #7688 from trapier/fix-dtr-versions

dtr: fix a couple variable templates
This commit is contained in:
Maria Bermudez 2018-11-16 11:31:50 -08:00 committed by GitHub
commit 3840f1b232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View File

@ -31,7 +31,7 @@ mkdir /tmp/mydir && sudo mount -t nfs <nfs server>:<directory>
One way to configure DTR to use an NFS directory is at install time: One way to configure DTR to use an NFS directory is at install time:
```none ```none
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} install \ docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} install \
--nfs-storage-url <nfs-storage-url> \ --nfs-storage-url <nfs-storage-url> \
<other options> <other options>
``` ```
@ -50,7 +50,7 @@ If you want to start using the new DTR built-in support for NFS you can
reconfigure DTR: reconfigure DTR:
```none ```none
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} reconfigure \ docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} reconfigure \
--nfs-storage-url <nfs-storage-url> --nfs-storage-url <nfs-storage-url>
``` ```
@ -58,7 +58,7 @@ If you want to reconfigure DTR to stop using NFS storage, leave the option
in blank: in blank:
```none ```none
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version}} reconfigure \ docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version}} reconfigure \
--nfs-storage-url "" --nfs-storage-url ""
``` ```

View File

@ -31,7 +31,7 @@ mkdir /tmp/mydir && sudo mount -t nfs <nfs server>:<directory> /tmp/mydir
One way to configure DTR to use an NFS directory is at install time: One way to configure DTR to use an NFS directory is at install time:
```bash ```bash
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} install \ docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} install \
--nfs-storage-url <nfs-storage-url> \ --nfs-storage-url <nfs-storage-url> \
<other options> <other options>
``` ```
@ -51,7 +51,7 @@ To take advantage of the new DTR built-in support for NFS, you can
reconfigure DTR to use NFS: reconfigure DTR to use NFS:
```bash ```bash
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} reconfigure \ docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} reconfigure \
--nfs-storage-url <nfs-storage-url> --nfs-storage-url <nfs-storage-url>
``` ```
@ -59,7 +59,7 @@ To reconfigure DTR to stop using NFS storage, leave the `--nfs-storage-url` opti
blank: blank:
```bash ```bash
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version}} reconfigure \ docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version}} reconfigure \
--nfs-storage-url "" --nfs-storage-url ""
``` ```

View File

@ -41,10 +41,10 @@ replicas.
## Cluster status ## Cluster status
The `/api/v0/meta/cluster_status` [endpoint](/reference/dtr/2.5/api/) The `/api/v0/meta/cluster_status` [endpoint](/reference/dtr/{{ site.dtr_version
requires administrator credentials, and returns a JSON object for the entire }}/api/) requires administrator credentials, and returns a JSON object for the
cluster as observed by the replica being queried. You can authenticate your entire cluster as observed by the replica being queried. You can authenticate
requests using HTTP basic auth. your requests using HTTP basic auth.
```bash ```bash
curl -ksL -u <user>:<pass> https://<dtr-domain>/api/v0/meta/cluster_status curl -ksL -u <user>:<pass> https://<dtr-domain>/api/v0/meta/cluster_status
@ -72,4 +72,4 @@ troubleshoot, try [troubleshooting using logs](troubleshoot-with-logs.md).
## Where to go next ## Where to go next
- [Troubleshoot with logs](troubleshoot-with-logs.md) - [Troubleshoot with logs](troubleshoot-with-logs.md)