1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 # Do not use this file for site configuration. Create
6 # /etc/arvados/config.yml instead.
8 # The order of precedence (highest to lowest):
9 # 1. Legacy component-specific config files (deprecated)
10 # 2. /etc/arvados/config.yml
11 # 3. config.default.yml
15 # Token used internally by Arvados components to authenticate to
16 # one another. Use a string of at least 50 random alphanumerics.
19 # Token to be included in all healthcheck requests. Disabled by default.
20 # Server expects request header of the format "Authorization: Bearer xxx"
25 # Each of the service sections below specifies InternalURLs
26 # (each with optional ListenURL) and ExternalURL.
28 # InternalURLs specify how other Arvados service processes will
29 # connect to the service. Typically these use internal hostnames
30 # and high port numbers. Example:
33 # "http://host1.internal.example:12345": {}
34 # "http://host2.internal.example:12345": {}
36 # ListenURL specifies the address and port the service process's
37 # HTTP server should listen on, if different from the
38 # InternalURL itself. Example, using an intermediate TLS proxy:
41 # "https://host1.internal.example":
42 # ListenURL: "http://10.0.0.7:12345"
44 # When there are multiple InternalURLs configured, the service
45 # process will try listening on each InternalURLs (using
46 # ListenURL if provided) until one works. If you use a ListenURL
47 # like "0.0.0.0" which can be bound on any machine, use an
48 # environment variable
49 # ARVADOS_SERVICE_INTERNAL_URL=http://host1.internal.example to
50 # control which entry to use.
52 # ExternalURL specifies how applications/clients will connect to
53 # the service, regardless of whether they are inside or outside
54 # the cluster. Example:
56 # ExternalURL: "https://keep.zzzzz.example.com/"
58 # To avoid routing internal traffic through external networks,
59 # use split-horizon DNS for ExternalURL host names: inside the
60 # cluster's private network "host.zzzzz.example.com" resolves to
61 # the host's private IP address, while outside the cluster
62 # "host.zzzzz.example.com" resolves to the host's public IP
63 # address (or its external gateway or load balancer).
66 InternalURLs: {SAMPLE: {ListenURL: ""}}
69 InternalURLs: {SAMPLE: {ListenURL: ""}}
72 InternalURLs: {SAMPLE: {ListenURL: ""}}
75 InternalURLs: {SAMPLE: {ListenURL: ""}}
78 InternalURLs: {SAMPLE: {ListenURL: ""}}
81 InternalURLs: {SAMPLE: {ListenURL: ""}}
84 InternalURLs: {SAMPLE: {ListenURL: ""}}
87 InternalURLs: {SAMPLE: {ListenURL: ""}}
90 InternalURLs: {SAMPLE: {ListenURL: ""}}
91 # Base URL for Workbench inline preview. If blank, use
92 # WebDAVDownload instead, and disable inline preview.
93 # If both are empty, downloading collections from workbench
96 # It is important to properly configure the download service
97 # to migitate cross-site-scripting (XSS) attacks. A HTML page
98 # can be stored in collection. If an attacker causes a victim
99 # to visit that page through Workbench, it will be rendered by
100 # the browser. If all collections are served at the same
101 # domain, the browser will consider collections as coming from
102 # the same origin and having access to the same browsing data,
103 # enabling malicious Javascript on that page to access Arvados
104 # on behalf of the victim.
106 # This is mitigating by having separate domains for each
107 # collection, or limiting preview to circumstances where the
108 # collection is not accessed with the user's regular
111 # Serve preview links using uuid or pdh in subdomain
112 # (requires wildcard DNS and TLS certificate)
113 # https://*.collections.uuid_prefix.arvadosapi.com
115 # Serve preview links using uuid or pdh in main domain
116 # (requires wildcard DNS and TLS certificate)
117 # https://*--collections.uuid_prefix.arvadosapi.com
119 # Serve preview links by setting uuid or pdh in the path.
120 # This configuration only allows previews of public data or
121 # collection-sharing links, because these use the anonymous
122 # user token or the token is already embedded in the URL.
123 # Other data must be handled as downloads via WebDAVDownload:
124 # https://collections.uuid_prefix.arvadosapi.com
129 InternalURLs: {SAMPLE: {ListenURL: ""}}
130 # Base URL for download links. If blank, serve links to WebDAV
131 # with disposition=attachment query param. Unlike preview links,
132 # browsers do not render attachments, so there is no risk of XSS.
134 # If WebDAVDownload is blank, and WebDAV uses a
135 # single-origin form, then Workbench will show an error page
137 # Serve download links by setting uuid or pdh in the path:
138 # https://download.uuid_prefix.arvadosapi.com
146 # Rendezvous is normally empty/omitted. When changing the
147 # URL of a Keepstore service, Rendezvous should be set to
148 # the old URL (with trailing slash omitted) to preserve
149 # rendezvous ordering.
153 InternalURLs: {SAMPLE: {ListenURL: ""}}
156 InternalURLs: {SAMPLE: {ListenURL: ""}}
157 # ShellInABox service endpoint URL for a given VM. If empty, do not
158 # offer web shell logins.
160 # E.g., using a path-based proxy server to forward connections to shell hosts:
161 # https://webshell.uuid_prefix.arvadosapi.com
163 # E.g., using a name-based proxy server to forward connections to shell hosts:
164 # https://*.webshell.uuid_prefix.arvadosapi.com
167 InternalURLs: {SAMPLE: {ListenURL: ""}}
170 InternalURLs: {SAMPLE: {ListenURL: ""}}
173 InternalURLs: {SAMPLE: {ListenURL: ""}}
177 # max concurrent connections per arvados server daemon
180 # All parameters here are passed to the PG client library in a connection string;
181 # see https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS
189 # Limits for how long a client token created by regular users can be valid,
190 # and also is used as a default expiration policy when no expiration date is
192 # Default value zero means token expirations don't get clamped and no
193 # default expiration is set.
196 # Maximum size (in bytes) allowed for a single API request. This
197 # limit is published in the discovery document for use by clients.
198 # Note: You must separately configure the upstream web server or
199 # proxy to actually enforce the desired maximum request size on the
201 MaxRequestSize: 134217728
203 # Limit the number of bytes read from the database during an index
204 # request (by retrieving and returning fewer rows than would
205 # normally be returned in a single response).
206 # Note 1: This setting never reduces the number of returned rows to
207 # zero, no matter how big the first data row is.
208 # Note 2: Currently, this is only checked against a specific set of
209 # columns that tend to get large (collections.manifest_text,
210 # containers.mounts, workflows.definition). Other fields (e.g.,
211 # "properties" hashes) are not counted against this limit.
212 MaxIndexDatabaseRead: 134217728
214 # Maximum number of items to return when responding to a APIs that
215 # can return partial result sets using limit and offset parameters
216 # (e.g., *.index, groups.contents). If a request specifies a "limit"
217 # parameter higher than this value, this value is used instead.
218 MaxItemsPerResponse: 1000
220 # Maximum number of concurrent requests to process concurrently
221 # in a single service process, or 0 for no limit.
223 # Note this applies to all Arvados services (controller, webdav,
224 # websockets, etc.). Concurrency in the controller service is
225 # also effectively limited by MaxConcurrentRailsRequests (see
226 # below) because most controller requests proxy through to the
229 # HTTP proxies and load balancers downstream of arvados services
230 # should be configured to allow at least {MaxConcurrentRequest +
231 # MaxQueuedRequests + MaxGatewayTunnels} concurrent requests.
232 MaxConcurrentRequests: 64
234 # Maximum number of concurrent requests to process concurrently
235 # in a single RailsAPI service process, or 0 for no limit.
236 MaxConcurrentRailsRequests: 8
238 # Maximum number of incoming requests to hold in a priority
239 # queue waiting for one of the MaxConcurrentRequests slots to be
240 # free. When the queue is longer than this, respond 503 to the
241 # lowest priority request.
243 # If MaxQueuedRequests is 0, respond 503 immediately to
244 # additional requests while at the MaxConcurrentRequests limit.
245 MaxQueuedRequests: 128
247 # Maximum time a "lock container" request is allowed to wait in
248 # the incoming request queue before returning 503.
249 MaxQueueTimeForLockRequests: 2s
251 # Maximum number of active gateway tunnel connections. One slot
252 # is consumed by each "container shell" connection. If using an
253 # HPC dispatcher (LSF or Slurm), one slot is consumed by each
254 # running container. These do not count toward
255 # MaxConcurrentRequests.
256 MaxGatewayTunnels: 1000
258 # Fraction of MaxConcurrentRequests that can be "log create"
259 # messages at any given time. This is to prevent logging
260 # updates from crowding out more important requests.
261 LogCreateRequestFraction: 0.50
263 # Maximum number of 64MiB memory buffers per Keepstore server process, or
264 # 0 for no limit. When this limit is reached, up to
265 # (MaxConcurrentRequests - MaxKeepBlobBuffers) HTTP requests requiring
266 # buffers (like GET and PUT) will wait for buffer space to be released.
267 # Any HTTP requests beyond MaxConcurrentRequests will receive an
268 # immediate 503 response.
270 # MaxKeepBlobBuffers should be set such that (MaxKeepBlobBuffers * 64MiB
271 # * 1.1) fits comfortably in memory. On a host dedicated to running
272 # Keepstore, divide total memory by 88MiB to suggest a suitable value.
273 # For example, if grep MemTotal /proc/meminfo reports MemTotal: 7125440
274 # kB, compute 7125440 / (88 * 1024)=79 and set MaxKeepBlobBuffers: 79
275 MaxKeepBlobBuffers: 128
277 # API methods to disable. Disabled methods are not listed in the
278 # discovery document, and respond 404 to all requests.
279 # Example: {"jobs.create":{}, "pipeline_instances.create": {}}
282 # Interval (seconds) between asynchronous permission view updates. Any
283 # permission-updating API called with the 'async' parameter schedules a an
284 # update on the permission view in the future, if not already scheduled.
285 AsyncPermissionsUpdateInterval: 20s
287 # Maximum number of concurrent outgoing requests to make while
288 # serving a single incoming multi-cluster (federated) request.
289 MaxRequestAmplification: 4
291 # Maximum wall clock time to spend handling an incoming request.
294 # Websocket will send a periodic empty event after 'SendTimeout'
295 # if there is no other activity to maintain the connection /
296 # detect dropped connections.
299 WebsocketClientEventQueue: 64
300 WebsocketServerEventQueue: 4
302 # Timeout on requests to internal Keep services.
303 KeepServiceRequestTimeout: 15s
305 # Vocabulary file path, local to the node running the controller.
306 # This JSON file should contain the description of what's allowed
307 # as object's metadata. Its format is described at:
308 # https://doc.arvados.org/admin/metadata-vocabulary.html
311 # If true, a project must have a non-empty description field in
312 # order to be frozen.
313 FreezeProjectRequiresDescription: false
315 # Project properties that must have non-empty values in order to
316 # freeze a project. Example: "property_name": {}
317 FreezeProjectRequiresProperties:
320 # If true, only an admin user can un-freeze a project. If false,
321 # any user with "manage" permission can un-freeze.
322 UnfreezeProjectRequiresAdmin: false
324 # (Experimental) Use row-level locking on update API calls.
325 LockBeforeUpdate: false
328 # Config parameters to automatically setup new users. If enabled,
329 # this users will be able to self-activate. Enable this if you want
330 # to run an open instance where anyone can create an account and use
331 # the system without requiring manual approval.
333 # The params AutoSetupNewUsersWith* are meaningful only when AutoSetupNewUsers is turned on.
334 # AutoSetupUsernameBlacklist is a list of usernames to be blacklisted for auto setup.
335 AutoSetupNewUsers: false
336 AutoSetupNewUsersWithVmUUID: ""
337 AutoSetupUsernameBlacklist:
346 # When NewUsersAreActive is set to true, new users will be active
347 # immediately. This skips the "self-activate" step which enforces
348 # user agreements. Should only be enabled for development.
349 NewUsersAreActive: false
351 # Newly activated users (whether set up by an admin or via
352 # AutoSetupNewUsers) immediately become visible to other active
355 # On a multi-tenant cluster, where the intent is for users to be
356 # invisible to one another unless they have been added to the
357 # same group(s) via Workbench admin interface, change this to
359 ActivatedUsersAreVisibleToOthers: true
361 # If a user creates an account with this email address, they
362 # will be automatically set to admin.
363 AutoAdminUserWithEmail: ""
365 # If AutoAdminFirstUser is set to true, the first user to log in when no
366 # other admin users exist will automatically become an admin user.
367 AutoAdminFirstUser: false
369 # Support email address to display in Workbench.
370 SupportEmailAddress: "arvados@example.com"
372 # Outgoing email configuration:
374 # In order to send mail, Arvados expects a default SMTP server
375 # on localhost:25. It cannot require authentication on
376 # connections from localhost. That server should be configured
377 # to relay mail to a "real" SMTP server that is able to send
378 # email on behalf of your domain.
380 # Recipient for notification email sent out when a user sets a
381 # profile on their account.
382 UserProfileNotificationAddress: ""
384 # When sending a NewUser, NewInactiveUser, or UserProfile
385 # notification, this is the 'From' address to use
386 AdminNotifierEmailFrom: arvados@example.com
388 # Prefix for email subjects for NewUser and NewInactiveUser emails
389 EmailSubjectPrefix: "[ARVADOS] "
391 # When sending a welcome email to the user, the 'From' address to use
392 UserNotifierEmailFrom: arvados@example.com
394 # The welcome email sent to new users will be blind copied to
396 UserNotifierEmailBcc:
399 # Recipients for notification email sent out when a user account
400 # is created and already set up to be able to log in
401 NewUserNotificationRecipients:
404 # Recipients for notification email sent out when a user account
405 # has been created but the user cannot log in until they are
406 # set up by an admin.
407 NewInactiveUserNotificationRecipients:
410 # Set AnonymousUserToken to enable anonymous user access. Populate this
411 # field with a random string at least 50 characters long.
412 AnonymousUserToken: ""
414 # The login provider for a user may supply a primary email
415 # address and one or more alternate email addresses. If a new
416 # user has an alternate email address with the domain given
417 # here, use the username from the alternate email to generate
418 # the user's Arvados username. Otherwise, the username from
419 # user's primary email address is used for the Arvados username.
420 # Currently implemented for OpenID Connect only.
421 PreferDomainForUsername: ""
423 # Send an email to each user when their account has been set up
424 # (meaning they are able to log in).
425 SendUserSetupNotificationEmail: true
427 # Ruby ERB template used for the email sent out to users when
428 # they have been set up.
430 <% if not @user.full_name.empty? -%>
431 <%= @user.full_name %>,
436 Your Arvados account has been set up. You can log in at
438 <%= Rails.configuration.Services.Workbench1.ExternalURL %>
441 Your Arvados administrator.
443 # If RoleGroupsVisibleToAll is true, all role groups are visible
444 # to all active users.
446 # If false, users must be granted permission to role groups in
447 # order to see them. This is more appropriate for a multi-tenant
449 RoleGroupsVisibleToAll: true
451 # If CanCreateRoleGroups is true, regular (non-admin) users can
452 # create new role groups.
454 # If false, only admins can create new role groups.
455 CanCreateRoleGroups: true
457 # During each period, a log entry with event_type="activity"
458 # will be recorded for each user who is active during that
459 # period. The object_uuid attribute will indicate the user's
462 # Multiple log entries for the same user may be generated during
463 # a period if there are multiple controller processes or a
464 # controller process is restarted.
466 # Use 0 to disable activity logging.
467 ActivityLoggingPeriod: 24h
469 # The SyncUser* options control what system resources are managed by
470 # arvados-login-sync on shell nodes. They correspond to:
471 # * SyncUserAccounts: The user's Unix account on the shell node
472 # * SyncUserGroups: The group memberships of that account
473 # * SyncUserSSHKeys: Whether to authorize the user's Arvados SSH keys
474 # * SyncUserAPITokens: Whether to set up the user's Arvados API token
475 # All default to true.
476 SyncUserAccounts: true
478 SyncUserSSHKeys: true
479 SyncUserAPITokens: true
481 # If SyncUserGroups=true, then arvados-login-sync will ensure that all
482 # managed accounts are members of the Unix groups listed in
483 # SyncRequiredGroups, in addition to any groups listed in their Arvados
484 # login permission. The default list includes the "fuse" group so
485 # users can use arv-mount. You can require no groups by specifying an
486 # empty list (i.e., `SyncRequiredGroups: []`).
490 # SyncIgnoredGroups is a list of group names. arvados-login-sync will
491 # never modify these groups. If user login permissions list any groups
492 # in SyncIgnoredGroups, they will be ignored. If a user's Unix account
493 # belongs to any of these groups, arvados-login-sync will not remove
494 # the account from that group. The default is a set of particularly
495 # security-sensitive groups across Debian- and Red Hat-based
512 # Time to keep audit logs, in seconds. (An audit log is a row added
513 # to the "logs" table in the PostgreSQL database each time an
514 # Arvados object is created, modified, or deleted.)
516 # Currently, websocket event notifications rely on audit logs, so
517 # this should not be set lower than 300 (5 minutes).
520 # Maximum number of log rows to delete in a single SQL transaction.
522 # If MaxDeleteBatch is 0, log entries will never be
523 # deleted by Arvados. Cleanup can be done by an external process
524 # without affecting any Arvados system processes, as long as very
525 # recent (<5 minutes old) logs are not deleted.
527 # 100000 is a reasonable batch size for most sites.
530 # Attributes to suppress in events and audit logs. Notably,
531 # specifying {"manifest_text": {}} here typically makes the database
532 # smaller and faster.
534 # Warning: Using any non-empty value here can have undesirable side
535 # effects for any client or component that relies on event logs.
536 # Use at your own risk.
537 UnloggedAttributes: {}
541 # Logging threshold: panic, fatal, error, warn, info, debug, or
545 # Logging format: json or text
548 # Maximum characters of (JSON-encoded) query parameters to include
549 # in each request log entry. When params exceed this size, they will
550 # be JSON-encoded, truncated to this size, and logged as
552 MaxRequestLogParamsSize: 2000
554 # In all services except RailsAPI, periodically check whether
555 # the incoming HTTP request queue is nearly full (see
556 # MaxConcurrentRequests) and, if so, write a snapshot of the
557 # request queue to {service}-requests.json in the specified
560 # Leave blank to disable.
561 RequestQueueDumpDirectory: ""
565 # Enable access controls for data stored in Keep. This should
566 # always be set to true on a production cluster.
569 # BlobSigningKey is a string of alphanumeric characters used to
570 # generate permission signatures for Keep locators. It must be
571 # identical to the permission key given to Keep. IMPORTANT: This
572 # is a site secret. It should be at least 50 characters.
574 # Modifying BlobSigningKey will invalidate all existing
575 # signatures, which can cause programs to fail (e.g., arv-put,
576 # arv-get, and Crunch jobs). To avoid errors, rotate keys only
577 # when no such processes are running.
580 # Enable garbage collection of unreferenced blobs in Keep.
583 # Time to leave unreferenced blobs in "trashed" state before
584 # deleting them, or 0 to skip the "trashed" state entirely and
585 # delete unreferenced blobs.
587 # If you use any Amazon S3 buckets as storage volumes, this
588 # must be at least 24h to avoid occasional data loss.
589 BlobTrashLifetime: 336h
591 # How often to check for (and delete) trashed blocks whose
592 # BlobTrashLifetime has expired.
593 BlobTrashCheckInterval: 24h
595 # Maximum number of concurrent "trash blob" and "delete trashed
596 # blob" operations conducted by a single keepstore process. Each
597 # of these can be set to 0 to disable the respective operation.
599 # If BlobTrashLifetime is zero, "trash" and "delete trash"
600 # happen at once, so only the lower of these two values is used.
601 BlobTrashConcurrency: 4
602 BlobDeleteConcurrency: 4
604 # Maximum number of concurrent "create additional replica of
605 # existing blob" operations conducted by a single keepstore
607 BlobReplicateConcurrency: 4
609 # Default replication level for collections. This is used when a
610 # collection's replication_desired attribute is nil.
611 DefaultReplication: 2
613 # BlobSigningTTL determines the minimum lifetime of transient
614 # data, i.e., blocks that are not referenced by
615 # collections. Unreferenced blocks exist for two reasons:
617 # 1) A data block must be written to a disk/cloud backend device
618 # before a collection can be created/updated with a reference to
621 # 2) Deleting or updating a collection can remove the last
622 # remaining reference to a data block.
624 # If BlobSigningTTL is too short, long-running
625 # processes/containers will fail when they take too long (a)
626 # between writing blocks and writing collections that reference
627 # them, or (b) between reading collections and reading the
630 # If BlobSigningTTL is too long, data will still be stored long
631 # after the referring collections are deleted, and you will
632 # needlessly fill up disks or waste money on cloud storage.
634 # Modifying BlobSigningTTL invalidates existing signatures; see
635 # BlobSigningKey note above.
637 # The default is 2 weeks.
640 # When running keep-balance, this is the destination filename for
641 # the list of lost block hashes if there are any, one per line.
642 # Updated automically during each successful run.
643 BlobMissingReport: ""
645 # keep-balance operates periodically, i.e.: do a
646 # scan/balance operation, sleep, repeat.
648 # BalancePeriod determines the interval between start times of
649 # successive scan/balance operations. If a scan/balance operation
650 # takes longer than BalancePeriod, the next one will follow it
653 # If SIGUSR1 is received during an idle period between operations,
654 # the next operation will start immediately.
657 # Limits the number of collections retrieved by keep-balance per
658 # API transaction. If this is zero, page size is
659 # determined by the API server's own page size limits (see
660 # API.MaxItemsPerResponse and API.MaxIndexDatabaseRead).
661 BalanceCollectionBatch: 0
663 # The size of keep-balance's internal queue of
664 # collections. Higher values may improve throughput by allowing
665 # keep-balance to fetch collections from the database while the
666 # current collection are still being processed, at the expense of
667 # using more memory. If this is zero or omitted, pages are
668 # processed serially.
669 BalanceCollectionBuffers: 4
671 # Maximum time for a rebalancing run. This ensures keep-balance
672 # eventually gives up and retries if, for example, a network
673 # error causes a hung connection that is never closed by the
674 # OS. It should be long enough that it doesn't interrupt a
675 # long-running balancing operation.
678 # Maximum number of replication_confirmed /
679 # storage_classes_confirmed updates to write to the database
680 # after a rebalancing run. When many updates are needed, this
681 # spreads them over a few runs rather than applying them all at
683 BalanceUpdateLimit: 100000
685 # Maximum number of "pull block from other server" and "trash
686 # block" requests to send to each keepstore server at a
687 # time. Smaller values use less memory in keepstore and
688 # keep-balance. Larger values allow more progress per
689 # keep-balance iteration. A zero value computes all of the
690 # needed changes but does not apply any.
691 BalancePullLimit: 100000
692 BalanceTrashLimit: 100000
694 # Default lifetime for ephemeral collections: 2 weeks. This must not
695 # be less than BlobSigningTTL.
696 DefaultTrashLifetime: 336h
698 # Interval (seconds) between trash sweeps. During a trash sweep,
699 # collections are marked as trash if their trash_at time has
700 # arrived, and deleted if their delete_at time has arrived.
701 TrashSweepInterval: 60s
703 # If true, enable collection versioning.
704 # When a collection's preserve_version field is true or the current version
705 # is older than the amount of seconds defined on PreserveVersionIfIdle,
706 # a snapshot of the collection's previous state is created and linked to
707 # the current collection.
708 CollectionVersioning: true
710 # 0s = auto-create a new version on every update.
711 # -1s = never auto-create new versions.
712 # > 0s = auto-create a new version when older than the specified number of seconds.
713 PreserveVersionIfIdle: 10s
715 # If non-empty, allow project and collection names to contain
716 # the "/" character (slash/stroke/solidus), and replace "/" with
717 # the given string in the filesystem hierarchy presented by
718 # WebDAV. Example values are "%2f" and "{slash}". Names that
719 # contain the substitution string itself may result in confusing
720 # behavior, so a value like "_" is not recommended.
722 # If the default empty value is used, the server will reject
723 # requests to create or rename a collection when the new name
726 # If the value "/" is used, project and collection names
727 # containing "/" will be allowed, but they will not be
728 # accessible via WebDAV.
730 # Use of this feature is not recommended, if it can be avoided.
731 ForwardSlashNameSubstitution: ""
733 # Include "folder objects" in S3 ListObjects responses.
734 S3FolderObjects: true
736 # Managed collection properties. At creation time, if the client didn't
737 # provide the listed keys, they will be automatically populated following
738 # one of the following behaviors:
740 # * UUID of the user who owns the containing project.
741 # responsible_person_uuid: {Function: original_owner, Protected: true}
743 # * Default concrete value.
744 # foo_bar: {Value: baz, Protected: false}
746 # If Protected is true, only an admin user can modify its value.
748 SAMPLE: {Function: original_owner, Protected: true}
750 # In "trust all content" mode, Workbench will redirect download
751 # requests to WebDAV preview link, even in the cases when
752 # WebDAV would have to expose XSS vulnerabilities in order to
753 # handle the redirect (see discussion on Services.WebDAV).
755 # This setting has no effect in the recommended configuration, where the
756 # WebDAV service is configured to have a separate domain for every
757 # collection and XSS protection is provided by browsers' same-origin
760 # The default setting (false) is appropriate for a multi-user site.
761 TrustAllContent: false
763 # Cache parameters for WebDAV content serving:
765 # Time to cache manifests, permission checks, and sessions.
768 # Maximum amount of data cached in /var/cache/arvados/keep.
769 # Can be given as a percentage of filesystem size ("10%") or a
770 # number of bytes ("10 GiB")
773 # Approximate memory limit (in bytes) for session cache.
775 # Note this applies to the in-memory representation of
776 # projects and collections -- metadata, block locators,
777 # filenames, etc. -- not the file data itself (see
779 MaxCollectionBytes: 100 MB
781 # Persistent sessions.
784 # Selectively set permissions for regular users and admins to
785 # download or upload data files using the upload/download
786 # features for Workbench, WebDAV and S3 API support.
795 # Selectively set permissions for regular users and admins to be
796 # able to download or upload blocks using arv-put and
797 # arv-get from outside the cluster.
806 # Post upload / download events to the API server logs table, so
807 # that they can be included in the arv-user-activity report.
808 # You can disable this if you find that it is creating excess
809 # load on the API server and you don't need it.
810 WebDAVLogEvents: true
812 # Per-connection output buffer for WebDAV downloads. May improve
813 # throughput for large files, particularly when storage volumes
816 # Size be specified as a number of bytes ("0") or with units
817 # ("128KiB", "1 MB").
818 WebDAVOutputBuffer: 0
821 # One of the following mechanisms (Google, PAM, LDAP, or
822 # LoginCluster) should be enabled; see
823 # https://doc.arvados.org/install/setup-login.html
826 # Authenticate with Google.
829 # Use the Google Cloud console to enable the People API (APIs
830 # and Services > Enable APIs and services > Google People API
831 # > Enable), generate a Client ID and secret (APIs and
832 # Services > Credentials > Create credentials > OAuth client
833 # ID > Web application) and add your controller's /login URL
834 # (e.g., "https://zzzzz.example.com/login") as an authorized
839 # Allow users to log in to existing accounts using any verified
840 # email address listed by their Google account. If true, the
841 # Google People API must be enabled in order for Google login to
842 # work. If false, only the primary email address will be used.
843 AlternateEmailAddresses: true
845 # Send additional parameters with authentication requests. See
846 # https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters
847 # for a list of supported parameters.
848 AuthenticationRequestParameters:
849 # Show the "choose which Google account" page, even if the
850 # client is currently logged in to exactly one Google
852 prompt: select_account
857 # Authenticate with an OpenID Connect provider.
860 # Issuer URL, e.g., "https://login.example.com".
862 # This must be exactly equal to the URL returned by the issuer
863 # itself in its config response ("isser" key). If the
864 # configured value is "https://example" and the provider
865 # returns "https://example:443" or "https://example/" then
866 # login will fail, even though those URLs are equivalent
870 # Your client ID and client secret (supplied by the provider).
874 # OpenID claim field containing the user's email
875 # address. Normally "email"; see
876 # https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
879 # OpenID claim field containing the email verification
880 # flag. Normally "email_verified". To accept every returned
881 # email address without checking a "verified" field at all,
882 # use an empty string "".
883 EmailVerifiedClaim: "email_verified"
885 # OpenID claim field containing the user's preferred
886 # username. If empty, use the mailbox part of the user's email
890 # Send additional parameters with authentication requests,
891 # like {display: page, prompt: consent}. See
892 # https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
893 # and refer to your provider's documentation for supported
895 AuthenticationRequestParameters:
898 # Accept an OIDC access token as an API token if the OIDC
899 # provider's UserInfo endpoint accepts it.
901 # AcceptAccessTokenScope should also be used when enabling
903 AcceptAccessToken: false
905 # Before accepting an OIDC access token as an API token, first
906 # check that it is a JWT whose "scope" value includes this
907 # value. Example: "https://zzzzz.example.com/" (your Arvados
910 # If this value is empty and AcceptAccessToken is true, all
911 # access tokens will be accepted regardless of scope,
912 # including non-JWT tokens. This is not recommended.
913 AcceptAccessTokenScope: ""
916 # Use PAM to authenticate users.
919 # PAM service name. PAM will apply the policy in the
920 # corresponding config file (e.g., /etc/pam.d/arvados) or, if
921 # there is none, the default "other" config.
924 # Domain name (e.g., "example.com") to use to construct the
925 # user's email address if PAM authentication returns a
926 # username with no "@". If empty, use the PAM username as the
927 # user's email address, whether or not it contains "@".
929 # Note that the email address is used as the primary key for
930 # user records when logging in. Therefore, if you change
931 # PAMDefaultEmailDomain after the initial installation, you
932 # should also update existing user records to reflect the new
933 # domain. Otherwise, next time those users log in, they will
934 # be given new accounts instead of accessing their existing
936 DefaultEmailDomain: ""
939 # Use an LDAP service to authenticate users.
942 # Server URL, like "ldap://ldapserver.example.com:389" or
943 # "ldaps://ldapserver.example.com:636".
944 URL: "ldap://ldap:389"
946 # Use StartTLS upon connecting to the server.
949 # Skip TLS certificate name verification.
952 # Mininum TLS version to negotiate when connecting to server
953 # (ldaps://... or StartTLS). It may be necessary to set this
954 # to "1.1" for compatibility with older LDAP servers that fail
955 # with 'LDAP Result Code 200 "Network Error": TLS handshake
956 # failed (tls: server selected unsupported protocol version
959 # If blank, use the recommended minimum version (1.2).
962 # Strip the @domain part if a user supplies an email-style
963 # username with this domain. If "*", strip any user-provided
964 # domain. If "", never strip the domain part. Example:
968 # If, after applying StripDomain, the username contains no "@"
969 # character, append this domain to form an email-style
970 # username. Example: "example.com"
973 # The LDAP attribute to filter on when looking up a username
974 # (after applying StripDomain and AppendDomain).
977 # Bind with this username (DN or UPN) and password when
978 # looking up the user record.
980 # Example user: "cn=admin,dc=example,dc=com"
982 SearchBindPassword: ""
984 # Directory base for username lookup. Example:
985 # "ou=Users,dc=example,dc=com"
988 # Additional filters to apply when looking up users' LDAP
989 # entries. This can be used to restrict access to a subset of
990 # LDAP users, or to disambiguate users from other directory
991 # entries that have the SearchAttribute present.
993 # Special characters in assertion values must be escaped (see
996 # Example: "(objectClass=person)"
999 # LDAP attribute to use as the user's email address.
1001 # Important: This must not be an attribute whose value can be
1002 # edited in the directory by the users themselves. Otherwise,
1003 # users can take over other users' Arvados accounts trivially
1004 # (email address is the primary key for Arvados accounts.)
1005 EmailAttribute: mail
1007 # LDAP attribute to use as the preferred Arvados username. If
1008 # no value is found (or this config is empty) the username
1009 # originally supplied by the user will be used.
1010 UsernameAttribute: uid
1013 # Authenticate users listed here in the config file. This
1014 # feature is intended to be used in test environments, and
1015 # should not be used in production.
1019 Email: alice@example.com
1022 # The cluster ID to delegate the user database. When set,
1023 # logins on this cluster will be redirected to the login cluster
1024 # (login cluster must appear in RemoteClusters with Proxy: true)
1027 # How long a cached token belonging to a remote cluster will
1028 # remain valid before it needs to be revalidated.
1029 RemoteTokenRefresh: 5m
1031 # How long a client token created from a login flow will be valid without
1032 # asking the user to re-login. Example values: 60m, 8h.
1033 # Default value zero means tokens don't have expiration.
1036 # If true (default), tokens are allowed to create new tokens and
1037 # view existing tokens belonging to the same user.
1038 # If false, tokens are not allowed to view or create other
1039 # tokens. New tokens can only be created by going through login
1041 IssueTrustedTokens: true
1043 # Origins (scheme://host[:port]) of clients trusted to receive
1044 # new tokens via login process. The ExternalURLs of the local
1045 # Workbench1 and Workbench2 are trusted implicitly and do not
1046 # need to be listed here. If this is a LoginCluster, you
1047 # probably want to include the other Workbench instances in the
1048 # federation in this list.
1050 # A wildcard like "https://*.example" will match client URLs
1051 # like "https://a.example" and "https://a.b.c.example".
1056 # "https://workbench.other-cluster.example": {}
1057 # "https://workbench2.other-cluster.example": {}
1061 # Treat any origin whose host part is "localhost" or a private
1062 # IP address (e.g., http://10.0.0.123:3000/) as if it were
1063 # listed in TrustedClients.
1065 # Intended only for test/development use. Not appropriate for
1067 TrustPrivateNetworks: false
1070 # Use "file:///var/lib/acme/live/example.com/cert" and
1071 # ".../privkey" to load externally managed certificates.
1075 # Accept invalid certificates when connecting to servers. Never
1076 # use this in production.
1080 # Obtain certificates automatically for ExternalURL domains
1081 # using an ACME server and http-01 validation.
1083 # To use Let's Encrypt, specify "LE". To use the Let's
1084 # Encrypt staging environment, specify "LE-staging". To use a
1085 # different ACME server, specify the full directory URL
1088 # Note: this feature is not yet implemented in released
1089 # versions, only in the alpha/prerelease arvados-server-easy
1092 # Implies agreement with the server's terms of service.
1096 # List of supported Docker Registry image formats that compute nodes
1097 # are able to use. `arv keep docker` will error out if a user tries
1098 # to store an image with an unsupported format. Use an empty array
1099 # to skip the compatibility check (and display a warning message to
1102 # Example for sites running docker < 1.10: {"v1": {}}
1103 # Example for sites running docker >= 1.10: {"v2": {}}
1104 # Example for disabling check: {}
1105 SupportedDockerImageFormats:
1109 # Include details about job reuse decisions in the server log. This
1110 # causes additional database queries to run, so it should not be
1111 # enabled unless you expect to examine the resulting logs for
1112 # troubleshooting purposes.
1113 LogReuseDecisions: false
1115 # Default value for keep_cache_ram of a container's
1116 # runtime_constraints. Note: this gets added to the RAM request
1117 # used to allocate a VM or submit an HPC job.
1119 # If this is zero, container requests that don't specify RAM or
1120 # disk cache size will use a disk cache, sized to the
1121 # container's RAM requirement (but with minimum 2 GiB and
1124 # Note: If you change this value, containers that used the previous
1125 # default value will only be reused by container requests that
1126 # explicitly specify the previous value in their keep_cache_ram
1127 # runtime constraint.
1128 DefaultKeepCacheRAM: 0
1130 # Number of times a container can be unlocked before being
1131 # automatically cancelled.
1132 MaxDispatchAttempts: 10
1134 # Default value for container_count_max for container requests. This is the
1135 # number of times Arvados will create a new container to satisfy a container
1136 # request. If a container is cancelled it will retry a new container if
1137 # container_count < container_count_max on any container requests associated
1138 # with the cancelled container.
1141 # Schedule all child containers on preemptible instances (e.g. AWS
1142 # Spot Instances) even if not requested by the submitter.
1144 # If false, containers are scheduled on preemptible instances
1145 # only when requested by the submitter.
1147 # This flag is ignored if no preemptible instance types are
1148 # configured, and has no effect on top-level containers.
1149 AlwaysUsePreemptibleInstances: false
1151 # Automatically add a preemptible variant for every
1152 # non-preemptible entry in InstanceTypes below. The maximum bid
1153 # price for the preemptible variant will be the non-preemptible
1154 # price multiplied by PreemptiblePriceFactor. If 0, preemptible
1155 # variants are not added automatically.
1157 # A price factor of 1.0 is a reasonable starting point.
1158 PreemptiblePriceFactor: 0
1160 # When the lowest-priced instance type for a given container is
1161 # not available, try other instance types, up to the indicated
1162 # maximum price factor.
1164 # For example, with AvailabilityPriceFactor 1.5, if the
1165 # lowest-cost instance type A suitable for a given container
1166 # costs $2/h, Arvados may run the container on any instance type
1167 # B costing $3/h or less when instance type A is not available
1168 # or an idle instance of type B is already running.
1169 MaximumPriceFactor: 1.5
1171 # PEM encoded SSH key (RSA, DSA, or ECDSA) used by the
1172 # cloud dispatcher for executing containers on worker VMs.
1173 # Begins with "-----BEGIN RSA PRIVATE KEY-----\n"
1174 # and ends with "\n-----END RSA PRIVATE KEY-----\n".
1176 # Use "file:///absolute/path/to/key" to load the key from a
1177 # separate file instead of embedding it in the configuration
1179 DispatchPrivateKey: ""
1181 # Maximum time to wait for workers to come up before abandoning
1182 # stale locks from a previous dispatch process.
1183 StaleLockTimeout: 1m
1185 # The crunch-run command used to start a container on a worker node.
1187 # When dispatching to cloud VMs, this is used only if
1188 # DeployRunnerBinary in the CloudVMs section is set to the empty
1190 CrunchRunCommand: "crunch-run"
1192 # Extra arguments to add to crunch-run invocation
1193 # Example: ["--cgroup-parent-subsystem=memory"]
1194 CrunchRunArgumentsList: []
1196 # Extra RAM to reserve on the node, in addition to
1197 # the amount specified in the container's RuntimeConstraints
1198 ReserveExtraRAM: 550MiB
1200 # Minimum time between two attempts to run the same container
1203 # Container runtime: "docker" (default) or "singularity"
1204 RuntimeEngine: docker
1206 # When running a container, run a dedicated keepstore process,
1207 # using the specified number of 64 MiB memory buffers per
1208 # allocated CPU core (VCPUs in the container's runtime
1209 # constraints). The dedicated keepstore handles I/O for
1210 # collections mounted in the container, as well as saving
1213 # A zero value disables this feature.
1215 # In order for this feature to be activated, no volume may use
1216 # AccessViaHosts, and no writable volume may have Replication
1217 # lower than Collections.DefaultReplication. If these
1218 # requirements are not satisfied, the feature is disabled
1219 # automatically regardless of the value given here.
1221 # When an HPC dispatcher is in use (see SLURM and LSF sections),
1222 # this feature depends on the operator to ensure an up-to-date
1223 # cluster configuration file (/etc/arvados/config.yml) is
1224 # available on all compute nodes. If it is missing or not
1225 # readable by the crunch-run user, the feature will be disabled
1226 # automatically. To read it from a different location, add a
1227 # "-config=/path/to/config.yml" argument to
1228 # CrunchRunArgumentsList above.
1230 # When the cloud dispatcher is in use (see CloudVMs section) and
1231 # this configuration is enabled, the entire cluster
1232 # configuration file, including the system root token, is copied
1233 # to the worker node and held in memory for the duration of the
1235 LocalKeepBlobBuffersPerVCPU: 1
1237 # When running a dedicated keepstore process for a container
1238 # (see LocalKeepBlobBuffersPerVCPU), write keepstore log
1239 # messages to keepstore.txt in the container's log collection.
1241 # These log messages can reveal some volume configuration
1242 # details, error messages from the cloud storage provider, etc.,
1243 # which are not otherwise visible to users.
1246 # * "none" -- no keepstore.txt file
1247 # * "all" -- all logs, including request and response lines
1248 # * "errors" -- all logs except "response" logs with 2xx
1249 # response codes and "request" logs
1250 LocalKeepLogsToContainerLog: none
1253 # Container logs are written to Keep and saved in a
1254 # collection, which is updated periodically while the
1255 # container runs. This value sets the interval between
1256 # collection updates.
1257 LogUpdatePeriod: 30m
1259 # The log collection is also updated when the specified amount of
1260 # log data (given in bytes) is produced in less than one update
1262 LogUpdateSize: 32MiB
1265 # An admin user can use "arvados-client shell" to start an
1266 # interactive shell (with any user ID) in any running
1270 # Any user can use "arvados-client shell" to start an
1271 # interactive shell (with any user ID) in any running
1272 # container that they started, provided it isn't also
1273 # associated with a different user's container request.
1275 # Interactive sessions make it easy to alter the container's
1276 # runtime environment in ways that aren't recorded or
1277 # reproducible. Consider the implications for automatic
1278 # container reuse before enabling and using this feature. In
1279 # particular, note that starting an interactive session does
1280 # not disqualify a container from being reused by a different
1281 # user/workflow in the future.
1286 SbatchArgumentsList: []
1287 SbatchEnvironmentVariables:
1291 # Arguments to bsub when submitting Arvados containers as LSF jobs.
1293 # Template variables starting with % will be substituted as follows:
1296 # %C number of VCPUs
1299 # %G number of GPU devices (runtime_constraints.cuda.device_count)
1300 # %W maximum run time in minutes (see MaxRunTimeOverhead and
1301 # MaxRunTimeDefault below)
1303 # Use %% to express a literal %. For example, the %%J in the
1304 # default argument list will be changed to %J, which is
1305 # interpreted by bsub itself.
1307 # Note that the default arguments cause LSF to write two files
1308 # in /tmp on the compute node each time an Arvados container
1309 # runs. Ensure you have something in place to delete old files
1310 # from /tmp, or adjust the "-o" and "-e" arguments accordingly.
1312 # If ["-We", "%W"] or ["-W", "%W"] appear in this argument
1313 # list, and MaxRunTimeDefault is not set (see below), both of
1314 # those arguments will be dropped from the argument list when
1315 # running a container that has no max_run_time value.
1316 BsubArgumentsList: ["-o", "/tmp/crunch-run.%%J.out", "-e", "/tmp/crunch-run.%%J.err", "-J", "%U", "-n", "%C", "-D", "%MMB", "-R", "rusage[mem=%MMB:tmp=%TMB] span[hosts=1]", "-R", "select[mem>=%MMB]", "-R", "select[tmp>=%TMB]", "-R", "select[ncpus>=%C]", "-We", "%W"]
1318 # Arguments that will be appended to the bsub command line
1319 # when submitting Arvados containers as LSF jobs with
1320 # runtime_constraints.cuda.device_count > 0
1321 BsubCUDAArguments: ["-gpu", "num=%G"]
1323 # Use sudo to switch to this user account when submitting LSF
1326 # This account must exist on the hosts where LSF jobs run
1327 # ("execution hosts"), as well as on the host where the
1328 # Arvados LSF dispatcher runs ("submission host").
1329 BsubSudoUser: "crunch"
1331 # When passing the scheduling_constraints.max_run_time value
1332 # to LSF via "%W", add this much time to account for
1333 # crunch-run startup/shutdown overhead.
1334 MaxRunTimeOverhead: 5m
1336 # If non-zero, MaxRunTimeDefault is used as the default value
1337 # for max_run_time for containers that do not specify a time
1338 # limit. MaxRunTimeOverhead will be added to this.
1341 # MaxRunTimeDefault: 2h
1342 MaxRunTimeDefault: 0
1345 # Enable the cloud scheduler.
1348 # Name/number of port where workers' SSH services listen.
1351 # Interval between queue polls.
1354 # Shell command to execute on each worker to determine whether
1355 # the worker is booted and ready to run containers. It should
1356 # exit zero if the worker is ready.
1357 BootProbeCommand: "systemctl is-system-running"
1359 # Minimum interval between consecutive probes to a single
1363 # Maximum probes per second, across all workers in a pool.
1364 MaxProbesPerSecond: 10
1366 # Time before repeating SIGTERM when killing a container.
1369 # Time to give up on a process (most likely arv-mount) that
1370 # still holds a container lockfile after its main supervisor
1371 # process has exited, and declare the instance broken.
1372 TimeoutStaleRunLock: 5s
1374 # Time to give up on SIGTERM and write off the worker.
1377 # Maximum create/destroy-instance operations per second (0 =
1379 MaxCloudOpsPerSecond: 10
1381 # Maximum concurrent instance creation operations (0 = unlimited).
1383 # MaxConcurrentInstanceCreateOps limits the number of instance creation
1384 # requests that can be in flight at any one time, whereas
1385 # MaxCloudOpsPerSecond limits the number of create/destroy operations
1386 # that can be started per second.
1388 # Because the API for instance creation on Azure is synchronous, it is
1389 # recommended to increase MaxConcurrentInstanceCreateOps when running
1390 # on Azure. When using managed images, a value of 20 would be
1391 # appropriate. When using Azure Shared Image Galeries, it could be set
1392 # higher. For more information, see
1393 # https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image
1395 # MaxConcurrentInstanceCreateOps can be increased for other cloud
1396 # providers too, if desired.
1397 MaxConcurrentInstanceCreateOps: 1
1399 # The maximum number of instances to run at a time, or 0 for
1402 # If more instances than this are already running and busy
1403 # when the dispatcher starts up, the running containers will
1404 # be allowed to finish before the excess instances are shut
1408 # The minimum number of instances expected to be runnable
1409 # without reaching a provider-imposed quota.
1411 # This is used as the initial value for the dispatcher's
1412 # dynamic instance limit, which increases (up to MaxInstances)
1413 # as containers start up successfully and decreases in
1414 # response to high API load and cloud quota errors.
1416 # Setting this to 0 means the dynamic instance limit will
1417 # start at MaxInstances.
1419 # Situations where you may want to set this (to a value less
1420 # than MaxInstances) would be when there is significant
1421 # variability or uncertainty in the actual cloud resources
1422 # available. Upon reaching InitialQuotaEstimate the
1423 # dispatcher will switch to a more conservative behavior with
1424 # slower instance start to avoid over-shooting cloud resource
1426 InitialQuotaEstimate: 0
1428 # Maximum fraction of available instance capacity allowed to
1429 # run "supervisor" containers at any given time. A supervisor
1430 # is a container whose purpose is mainly to submit and manage
1431 # other containers, such as arvados-cwl-runner workflow
1434 # If there is a hard limit on the amount of concurrent
1435 # containers that the cluster can run, it is important to
1436 # avoid crowding out the containers doing useful work with
1437 # containers who just create more work.
1439 # For example, with the default MaxInstances of 64, it will
1440 # schedule at most floor(64*0.50) = 32 concurrent workflow
1441 # runners, ensuring 32 slots are available for work.
1442 SupervisorFraction: 0.50
1444 # Interval between cloud provider syncs/updates ("list all
1448 # Time to leave an idle worker running (in case new containers
1449 # appear in the queue that it can run) before shutting it
1453 # Time to wait for a new worker to boot (i.e., pass
1454 # BootProbeCommand) before giving up and shutting it down.
1457 # Maximum time a worker can stay alive with no successful
1458 # probes before being automatically shut down.
1461 # Time after shutting down a worker to retry the
1462 # shutdown/destroy operation.
1463 TimeoutShutdown: 10s
1465 # Worker VM image ID.
1466 # (aws) AMI identifier
1467 # (azure) managed disks: the name of the managed disk image
1468 # (azure) shared image gallery: the name of the image definition. Also
1469 # see the SharedImageGalleryName and SharedImageGalleryImageVersion fields.
1470 # (azure) unmanaged disks (deprecated): the complete URI of the VHD, e.g.
1471 # https://xxxxx.blob.core.windows.net/system/Microsoft.Compute/Images/images/xxxxx.vhd
1474 # Shell script to run on new instances using the cloud
1475 # provider's UserData (EC2) or CustomData (Azure) feature.
1477 # It is not necessary to include a #!/bin/sh line.
1478 InstanceInitCommand: ""
1480 # An executable file (located on the dispatcher host) to be
1481 # copied to cloud instances at runtime and used as the
1482 # container runner/supervisor. The default value is the
1483 # dispatcher program itself.
1485 # Use an empty string to disable this step: nothing will be
1486 # copied, and cloud instances are assumed to have a suitable
1487 # version of crunch-run installed; see CrunchRunCommand above.
1488 DeployRunnerBinary: "/proc/self/exe"
1490 # Install the Dispatcher's SSH public key (derived from
1491 # DispatchPrivateKey) when creating new cloud
1492 # instances. Change this to false if you are using a different
1493 # mechanism to pre-install the public key on new instances.
1494 DeployPublicKey: true
1496 # Tags to add on all resources (VMs, NICs, disks) created by
1497 # the container dispatcher. (Arvados's own tags --
1498 # InstanceType, IdleBehavior, and InstanceSecret -- will also
1503 # Prefix for predefined tags used by Arvados (InstanceSetID,
1504 # InstanceType, InstanceSecret, IdleBehavior). With the
1505 # default value "Arvados", tags are "ArvadosInstanceSetID",
1506 # "ArvadosInstanceSecret", etc.
1508 # This should only be changed while no cloud resources are in
1509 # use and the cloud dispatcher is not running. Otherwise,
1510 # VMs/resources that were added using the old tag prefix will
1511 # need to be detected and cleaned up manually.
1512 TagKeyPrefix: Arvados
1514 # Cloud driver: "azure" (Microsoft Azure), "ec2" (Amazon AWS),
1515 # or "loopback" (run containers on dispatch host for testing
1519 # Cloud-specific driver parameters.
1522 # (ec2) Credentials. Omit or leave blank if using IAM role.
1526 # (ec2) Instance configuration.
1528 # (ec2) Region, like "us-east-1".
1531 # (ec2) Security group IDs. Omit or use {} to use the
1532 # default security group.
1536 # (ec2) One or more subnet IDs. Omit or leave empty to let
1537 # AWS choose a default subnet from your default VPC. If
1538 # multiple subnets are configured here (enclosed in brackets
1539 # like [subnet-abc123, subnet-def456]) the cloud dispatcher
1540 # will detect subnet-related errors and retry using a
1541 # different subnet. Most sites specify one subnet.
1545 AdminUsername: debian
1546 # (ec2) name of the IAMInstanceProfile for instances started by
1547 # the cloud dispatcher. Leave blank when not needed.
1548 IAMInstanceProfile: ""
1550 # (ec2) how often to look up spot instance pricing data
1551 # (only while running spot instances) for the purpose of
1552 # calculating container cost estimates. A value of 0
1553 # disables spot price lookups entirely.
1554 SpotPriceUpdateInterval: 24h
1556 # (ec2) per-GiB-month cost of EBS volumes. Matches
1557 # EBSVolumeType. Used to account for AddedScratch when
1558 # calculating container cost estimates. Note that
1559 # https://aws.amazon.com/ebs/pricing/ defines GB to mean
1560 # GiB, so an advertised price $0.10/GB indicates a real
1561 # price of $0.10/GiB and can be entered here as 0.10.
1564 # (azure) Credentials.
1570 # (azure) Instance configuration.
1571 CloudEnvironment: AzurePublicCloud
1574 # (azure) The resource group where the VM and virtual NIC will be
1578 # (azure) The resource group of the Network to use for the virtual
1579 # NIC (if different from ResourceGroup)
1580 NetworkResourceGroup: ""
1584 # (azure) managed disks: The resource group where the managed disk
1585 # image can be found (if different from ResourceGroup).
1586 ImageResourceGroup: ""
1588 # (azure) shared image gallery: the name of the gallery
1589 SharedImageGalleryName: ""
1590 # (azure) shared image gallery: the version of the image definition
1591 SharedImageGalleryImageVersion: ""
1593 # (azure) unmanaged disks (deprecated): Where to store the VM VHD blobs
1597 # (azure) How long to wait before deleting VHD and NIC
1598 # objects that are no longer being used.
1599 DeleteDanglingResourcesAfter: 20s
1601 # Account (that already exists in the VM image) that will be
1602 # set up with an ssh authorized key to allow the compute
1603 # dispatcher to connect.
1604 AdminUsername: arvados
1608 # Use the instance type name as the key (in place of "SAMPLE" in
1609 # this sample entry).
1611 # Cloud provider's instance type. Defaults to the configured type name.
1615 IncludedScratch: 16GB
1617 # Hourly price ($), used to select node types for containers,
1618 # and to calculate estimated container costs. For spot
1619 # instances on EC2, this is also used as the maximum price
1620 # when launching spot instances, while the estimated container
1621 # cost is computed based on the current spot price according
1622 # to AWS. On Azure, and on-demand instances on EC2, the price
1623 # given here is used to compute container cost estimates.
1626 # Include this section if the node type includes GPU (CUDA) support
1628 DriverVersion: "11.0"
1629 HardwareCapability: "9.0"
1634 # If you use multiple storage classes, specify them here, using
1635 # the storage class name as the key (in place of "SAMPLE" in
1636 # this sample entry).
1638 # Further info/examples:
1639 # https://doc.arvados.org/admin/storage-classes.html
1642 # Priority determines the order volumes should be searched
1643 # when reading data, in cases where a keepstore server has
1644 # access to multiple volumes with different storage classes.
1647 # Default determines which storage class(es) should be used
1648 # when a user/client writes data or saves a new collection
1649 # without specifying storage classes.
1651 # If any StorageClasses are configured, at least one of them
1652 # must have Default: true.
1657 # AccessViaHosts specifies which keepstore processes can read
1658 # and write data on the volume.
1660 # For a local filesystem, AccessViaHosts has one entry,
1661 # indicating which server the filesystem is located on.
1663 # For a network-attached backend accessible by all keepstore
1664 # servers, like a cloud storage bucket or an NFS mount,
1665 # AccessViaHosts can be empty/omitted.
1667 # Further info/examples:
1668 # https://doc.arvados.org/install/configure-fs-storage.html
1669 # https://doc.arvados.org/install/configure-s3-object-storage.html
1670 # https://doc.arvados.org/install/configure-azure-blob-storage.html
1674 "http://host1.example:25107": {}
1676 # AllowTrashWhenReadOnly enables unused and overreplicated
1677 # blocks to be trashed/deleted even when ReadOnly is
1678 # true. Normally, this is false and ReadOnly prevents all
1679 # trash/delete operations as well as writes.
1680 AllowTrashWhenReadOnly: false
1683 # If you have configured storage classes (see StorageClasses
1684 # section above), add an entry here for each storage class
1685 # satisfied by this volume.
1689 # for s3 driver -- see
1690 # https://doc.arvados.org/install/configure-s3-object-storage.html
1692 SecretAccessKey: aaaaa
1696 LocationConstraint: false
1704 # For S3 driver, potentially unsafe tuning parameter,
1705 # intentionally excluded from main documentation.
1707 # Enable deletion (garbage collection) even when the
1708 # configured BlobTrashLifetime is zero. WARNING: eventual
1709 # consistency may result in race conditions that can cause
1710 # data loss. Do not enable this unless you understand and
1714 # for azure driver -- see
1715 # https://doc.arvados.org/install/configure-azure-blob-storage.html
1716 StorageAccountName: aaaaa
1717 StorageAccountKey: aaaaa
1718 StorageBaseURL: core.windows.net
1719 ContainerName: aaaaa
1721 ListBlobsRetryDelay: 10s
1722 ListBlobsMaxAttempts: 10
1724 WriteRaceInterval: 15s
1725 WriteRacePollTime: 1s
1727 # for local directory driver -- see
1728 # https://doc.arvados.org/install/configure-fs-storage.html
1729 Root: /var/lib/arvados/keep-data
1731 # For local directory driver, potentially confusing tuning
1732 # parameter, intentionally excluded from main documentation.
1734 # When true, read and write operations (for whole 64MiB
1735 # blocks) on an individual volume will queued and issued
1736 # serially. When false, read and write operations will be
1737 # issued concurrently.
1739 # May possibly improve throughput if you have physical spinning disks
1740 # and experience contention when there are multiple requests
1741 # to the same volume.
1743 # Otherwise, when using SSDs, RAID, or a shared network filesystem, you
1744 # should leave this alone.
1753 ActivateUsers: false
1755 # API endpoint host or host:port; default is {id}.arvadosapi.com
1756 Host: sample.arvadosapi.com
1758 # Perform a proxy request when a local client requests an
1759 # object belonging to this remote.
1762 # Default "https". Can be set to "http" for testing.
1765 # Disable TLS verify. Can be set to true for testing.
1768 # When users present tokens issued by this remote cluster, and
1769 # their accounts are active on the remote cluster, activate
1770 # them on this cluster too.
1771 ActivateUsers: false
1774 # Workbench1 configs
1776 ActivationContactLink: mailto:info@arvados.org
1777 ArvadosDocsite: https://doc.arvados.org
1778 ArvadosPublicDataDocURL: https://playground.arvados.org/projects/public
1779 ShowUserAgreementInline: false
1781 # Set this configuration to true to avoid providing an easy way for users
1782 # to share data with unauthenticated users; this may be necessary on
1783 # installations where strict data access controls are needed.
1784 DisableSharingURLsUI: false
1786 # Below is a sample setting of user_profile_form_fields config parameter.
1787 # This configuration parameter should be set to either false (to disable) or
1788 # to a map as shown below.
1789 # Configure the map of input fields to be displayed in the profile page
1790 # using the attribute "key" for each of the input fields.
1791 # This sample shows configuration with one required and one optional form fields.
1792 # For each of these input fields:
1793 # You can specify "Type" as "text" or "select".
1794 # List the "Options" to be displayed for each of the "select" menu.
1795 # Set "Required" as "true" for any of these fields to make them required.
1796 # If any of the required fields are missing in the user's profile, the user will be
1797 # redirected to the profile page before they can access any Workbench features.
1798 UserProfileFormFields:
1801 FormFieldTitle: Best color
1802 FormFieldDescription: your favorite color
1811 # exampleTextValue: # key that will be set in properties
1813 # FormFieldTitle: ""
1814 # FormFieldDescription: ""
1817 # exampleOptionsValue:
1819 # FormFieldTitle: ""
1820 # FormFieldDescription: ""
1828 # Use "UserProfileFormMessage to configure the message you want
1829 # to display on the profile page.
1830 UserProfileFormMessage: 'Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.'
1832 SiteName: Arvados Workbench
1834 # Workbench2 configs
1835 FileViewersConfigURL: ""
1837 # Idle time after which the user's session will be auto closed.
1838 # This feature is disabled when set to zero.
1841 # UUID of a collection. This collection should be shared with
1842 # all users. Workbench will look for a file "banner.html" in
1843 # this collection and display its contents (should be
1844 # HTML-formatted text) when users first log in to Workbench.
1847 # Workbench welcome screen, this is HTML text that will be
1848 # incorporated directly onto the page.
1850 <img src="/arvados-logo-big.png" style="width: 20%; float: right; padding: 1em;" />
1851 <h2>Please log in.</h2>
1853 <p>If you have never used Arvados Workbench before, logging in
1854 for the first time will automatically create a new
1857 <i>Arvados Workbench uses your information only for
1858 identification, and does not retrieve any other personal
1861 # Workbench screen displayed to inactive users. This is HTML
1862 # text that will be incorporated directly onto the page.
1864 <img src="/arvados-logo-big.png" style="width: 20%; float: right; padding: 1em;" />
1865 <h3>Hi! You're logged in, but...</h3>
1866 <p>Your account is inactive.</p>
1867 <p>An administrator must activate your account before you can get
1870 # Connecting to Arvados shell VMs tends to be site-specific.
1871 # Put any special instructions here. This is HTML text that will
1872 # be incorporated directly onto the Workbench page.
1874 <a href="https://doc.arvados.org/user/getting_started/ssh-access-unix.html">Accessing an Arvados VM with SSH</a> (generic instructions).
1875 Site configurations vary. Contact your local cluster administrator if you have difficulty accessing an Arvados shell node.
1877 # Sample text if you are using a "switchyard" ssh proxy.
1878 # Replace "zzzzz" with your Cluster ID.
1880 # <p>Add a section like this to your SSH configuration file ( <i>~/.ssh/config</i>):</p>
1883 # ServerAliveInterval 60
1884 # ProxyCommand ssh -p2222 turnout@switchyard.zzzzz.arvadosapi.com -x -a $SSH_PROXY_FLAGS %h
1887 # If you are using a switchyard ssh proxy, shell node hostnames
1888 # may require a special hostname suffix. In the sample ssh
1889 # configuration above, this would be ".zzzzz"
1890 # This is added to the hostname in the "command line" column
1891 # the Workbench "shell VMs" page.
1893 # If your shell nodes are directly accessible by users without a
1894 # proxy and have fully qualified host names, you should leave
1896 SSHHelpHostSuffix: ""
1898 # (Experimental) Restart services automatically when config file
1899 # changes are detected. Only supported by `arvados-server boot` in
1901 AutoReloadConfig: false