From e201aabcc4d6d457a662ad0b4e51f3524b5bc865 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 16 Sep 2019 11:01:52 -0400 Subject: [PATCH] 13647: Add AccessViaHosts doc comment. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- .../configure-fs-storage.html.textile.liquid | 4 ++-- lib/config/config.default.yml | 15 +++++++++++++++ lib/config/generated_config.go | 15 +++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/doc/install/configure-fs-storage.html.textile.liquid b/doc/install/configure-fs-storage.html.textile.liquid index aef6f13dc2..2e97813263 100644 --- a/doc/install/configure-fs-storage.html.textile.liquid +++ b/doc/install/configure-fs-storage.html.textile.liquid @@ -25,7 +25,7 @@ Note that each volume has an AccessViaHosts section indicating that (for example Volumes: uuid_prefix-nyw5e-000000000000000: AccessViaHosts: - "http://keep0.uuid_prefix.example.com:25107/": {} + "http://keep0.uuid_prefix.example.com:25107": {} Driver: Directory DriverParameters: # The directory that will be used as the backing store. @@ -59,7 +59,7 @@ Note that each volume has an AccessViaHosts section indicating that (for example uuid_prefix-nyw5e-000000000000001: AccessViaHosts: - "http://keep1.uuid_prefix.example.com:25107/": {} + "http://keep1.uuid_prefix.example.com:25107": {} Driver: Directory DriverParameters: Root: /mnt/local-disk diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml index 94cd1c6023..b8c7fcccae 100644 --- a/lib/config/config.default.yml +++ b/lib/config/config.default.yml @@ -787,9 +787,24 @@ Clusters: Volumes: SAMPLE: + # AccessViaHosts specifies which keepstore processes can read + # and write data on the volume. + # + # For a local filesystem, AccessViaHosts has one entry, + # indicating which server the filesystem is located on. + # + # For a network-attached backend accessible by all keepstore + # servers, like a cloud storage bucket or an NFS mount, + # AccessViaHosts can be empty/omitted. + # + # Further info/examples: + # https://doc.arvados.org/install/configure-fs-storage.html + # https://doc.arvados.org/install/configure-s3-object-storage.html + # https://doc.arvados.org/install/configure-azure-blob-storage.html AccessViaHosts: SAMPLE: ReadOnly: false + "http://host1.example:25107": {} ReadOnly: false Replication: 1 StorageClasses: diff --git a/lib/config/generated_config.go b/lib/config/generated_config.go index 00cefd70df..62c0a57917 100644 --- a/lib/config/generated_config.go +++ b/lib/config/generated_config.go @@ -793,9 +793,24 @@ Clusters: Volumes: SAMPLE: + # AccessViaHosts specifies which keepstore processes can read + # and write data on the volume. + # + # For a local filesystem, AccessViaHosts has one entry, + # indicating which server the filesystem is located on. + # + # For a network-attached backend accessible by all keepstore + # servers, like a cloud storage bucket or an NFS mount, + # AccessViaHosts can be empty/omitted. + # + # Further info/examples: + # https://doc.arvados.org/install/configure-fs-storage.html + # https://doc.arvados.org/install/configure-s3-object-storage.html + # https://doc.arvados.org/install/configure-azure-blob-storage.html AccessViaHosts: SAMPLE: ReadOnly: false + "http://host1.example:25107": {} ReadOnly: false Replication: 1 StorageClasses: -- 2.39.5