X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/336638f432e46f61cc87b958580e098e81cea921..91cd750b78b39195b0e8f3328a3e7f34484172a3:/doc/install/install-controller.html.textile.liquid diff --git a/doc/install/install-controller.html.textile.liquid b/doc/install/install-controller.html.textile.liquid index ccb8d980ae..f78467f5be 100644 --- a/doc/install/install-controller.html.textile.liquid +++ b/doc/install/install-controller.html.textile.liquid @@ -85,19 +85,20 @@ Restart Nginx to apply the new configuration. -h3. Configure arvados-controller +h3(#configuration). Configure arvados-controller Create the cluster configuration file @/etc/arvados/config.yml@ using the following template.
Clusters:
   uuid_prefix:
-    NodeProfiles:
-      apiserver:
-        arvados-controller:
-          Listen: ":9004" # must match the "upstream controller" section of your Nginx config
+    Services:
+      Controller:
+        InternalURLs:
+          "http://localhost:9004": {} # must match the "upstream controller" section of your Nginx config
+      RailsAPI:
         arvados-api-server:
-          Listen: ":8000" # must match the "upstream api" section of your Nginx config
+          "http://localhost:8000": {} # must match the "upstream api" section of your Nginx config
     PostgreSQL:
       ConnectionPool: 128
       Connection:
@@ -178,3 +179,19 @@ Confirm the service is listening on its assigned port and responding to requests
 {"errors":["Forbidden"],"error_token":"1533044555+684b532c"}
 
+ +h3(#confirm-config). Confirm the public configuration is OK + +Confirm the publicly accessible configuration endpoint does not reveal any sensitive information (e.g., a secret that was mistakenly entered under the wrong configuration key). Use the jq program, if you have installed it, to make the JSON document easier to read. + + +
~$ curl http://0.0.0.0:9004/arvados/v1/config | jq .
+{
+  "API": {
+    "MaxItemsPerResponse": 1000,
+    "MaxRequestAmplification": 4,
+    "RequestTimeout": "5m"
+  },
+  ...
+
+