X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/da266d025f557cdd392d750ef0ff4b58d3757251..bf9803ee5afb33231da7900dddfdfac34b7056a6:/lib/config/config.default.yml diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml index bd4c3521d1..dc128e56b5 100644 --- a/lib/config/config.default.yml +++ b/lib/config/config.default.yml @@ -21,11 +21,7 @@ Clusters: Services: RailsAPI: InternalURLs: {} - GitHTTP: - InternalURLs: {} - ExternalURL: "" - Keepstore: - InternalURLs: {} + ExternalURL: "-" Controller: InternalURLs: {} ExternalURL: "" @@ -34,14 +30,18 @@ Clusters: ExternalURL: "" Keepbalance: InternalURLs: {} + ExternalURL: "-" GitHTTP: InternalURLs: {} ExternalURL: "" GitSSH: + InternalURLs: {} ExternalURL: "" DispatchCloud: InternalURLs: {} + ExternalURL: "-" SSO: + InternalURLs: {} ExternalURL: "" Keepproxy: InternalURLs: {} @@ -54,15 +54,26 @@ Clusters: ExternalURL: "" Keepstore: InternalURLs: {} + ExternalURL: "-" Composer: + InternalURLs: {} ExternalURL: "" WebShell: + InternalURLs: {} ExternalURL: "" Workbench1: InternalURLs: {} ExternalURL: "" Workbench2: + InternalURLs: {} ExternalURL: "" + Nodemanager: + InternalURLs: {} + ExternalURL: "-" + Health: + InternalURLs: {} + ExternalURL: "-" + PostgreSQL: # max concurrent connections per arvados server daemon ConnectionPool: 32 @@ -107,7 +118,7 @@ Clusters: # Interval (seconds) between asynchronous permission view updates. Any # permission-updating API called with the 'async' parameter schedules a an # update on the permission view in the future, if not already scheduled. - AsyncPermissionsUpdateInterval: 20 + AsyncPermissionsUpdateInterval: 20s # Maximum number of concurrent outgoing requests to make while # serving a single incoming multi-cluster (federated) request. @@ -118,6 +129,9 @@ Clusters: # site secret. It should be at least 50 characters. RailsSessionSecretToken: "" + # Maximum wall clock time to spend handling an incoming request. + RequestTimeout: 5m + Users: # Config parameters to automatically setup new users. If enabled, # this users will be able to self-activate. Enable this if you want @@ -185,6 +199,14 @@ Clusters: UnloggedAttributes: [] SystemLogs: + + # Logging threshold: panic, fatal, error, warn, info, debug, or + # trace + LogLevel: info + + # Logging format: json or text + Format: json + # Maximum characters of (JSON-encoded) query parameters to include # in each request log entry. When params exceed this size, they will # be JSON-encoded, truncated to this size, and logged as @@ -243,7 +265,7 @@ Clusters: # Interval (seconds) between trash sweeps. During a trash sweep, # collections are marked as trash if their trash_at time has # arrived, and deleted if their delete_at time has arrived. - TrashSweepInterval: 60 + TrashSweepInterval: 60s # If true, enable collection versioning. # When a collection's preserve_version field is true or the current version @@ -252,10 +274,10 @@ Clusters: # the current collection. CollectionVersioning: false - # 0 = auto-create a new version on every update. - # -1 = never auto-create new versions. - # > 0 = auto-create a new version when older than the specified number of seconds. - PreserveVersionIfIdle: -1 + # 0s = auto-create a new version on every update. + # -1s = never auto-create new versions. + # > 0s = auto-create a new version when older than the specified number of seconds. + PreserveVersionIfIdle: -1s Login: # These settings are provided by your OAuth2 provider (e.g., @@ -271,6 +293,8 @@ Clusters: Repositories: /var/lib/arvados/git/repositories TLS: + Certificate: "" + Key: "" Insecure: false Containers: @@ -317,11 +341,15 @@ Clusters: # scheduling parameter parameter set. UsePreemptibleInstances: false - # Include details about job reuse decisions in the server log. This - # causes additional database queries to run, so it should not be - # enabled unless you expect to examine the resulting logs for - # troubleshooting purposes. - LogReuseDecisions: false + # PEM encoded SSH key (RSA, DSA, or ECDSA) used by the + # (experimental) cloud dispatcher for executing containers on + # worker VMs. Begins with "-----BEGIN RSA PRIVATE KEY-----\n" + # and ends with "\n-----END RSA PRIVATE KEY-----\n". + DispatchPrivateKey: none + + # Maximum time to wait for workers to come up before abandoning + # stale locks from a previous dispatch process. + StaleLockTimeout: 1m Logging: # When you run the db:delete_old_container_logs task, it will find @@ -337,8 +365,8 @@ Clusters: LogBytesPerEvent: 4096 LogSecondsBetweenEvents: 1 - # The sample period for throttling logs, in seconds. - LogThrottlePeriod: 60 + # The sample period for throttling logs. + LogThrottlePeriod: 60s # Maximum number of bytes that job can log over crunch_log_throttle_period # before being silenced until the end of the period. @@ -352,18 +380,18 @@ Clusters: # silenced by throttling are not counted against this total. LimitLogBytesPerJob: 67108864 - LogPartialLineThrottlePeriod: 5 + LogPartialLineThrottlePeriod: 5s - # Container logs are written to Keep and saved in a collection, - # which is updated periodically while the container runs. This - # value sets the interval (given in seconds) between collection - # updates. - LogUpdatePeriod: 1800 + # Container logs are written to Keep and saved in a + # collection, which is updated periodically while the + # container runs. This value sets the interval between + # collection updates. + LogUpdatePeriod: 30m # The log collection is also updated when the specified amount of # log data (given in bytes) is produced in less than one update # period. - LogUpdateSize: 33554432 + LogUpdateSize: 32MiB SLURM: Managed: @@ -445,6 +473,129 @@ Clusters: # original job reuse behavior, and is still the default). ReuseJobIfOutputsDiffer: false + CloudVMs: + # Enable the cloud scheduler (experimental). + Enable: false + + # Name/number of port where workers' SSH services listen. + SSHPort: "22" + + # Interval between queue polls. + PollInterval: 10s + + # Shell command to execute on each worker to determine whether + # the worker is booted and ready to run containers. It should + # exit zero if the worker is ready. + BootProbeCommand: "docker ps" + + # Minimum interval between consecutive probes to a single + # worker. + ProbeInterval: 10s + + # Maximum probes per second, across all workers in a pool. + MaxProbesPerSecond: 10 + + # Time before repeating SIGTERM when killing a container. + TimeoutSignal: 5s + + # Time to give up on SIGTERM and write off the worker. + TimeoutTERM: 2m + + # Maximum create/destroy-instance operations per second (0 = + # unlimited). + MaxCloudOpsPerSecond: 0 + + # Interval between cloud provider syncs/updates ("list all + # instances"). + SyncInterval: 1m + + # Time to leave an idle worker running (in case new containers + # appear in the queue that it can run) before shutting it + # down. + TimeoutIdle: 1m + + # Time to wait for a new worker to boot (i.e., pass + # BootProbeCommand) before giving up and shutting it down. + TimeoutBooting: 10m + + # Maximum time a worker can stay alive with no successful + # probes before being automatically shut down. + TimeoutProbe: 10m + + # Time after shutting down a worker to retry the + # shutdown/destroy operation. + TimeoutShutdown: 10s + + # Worker VM image ID. + ImageID: "" + + # Tags to add on all resources (VMs, NICs, disks) created by + # the container dispatcher. (Arvados's own tags -- + # InstanceType, IdleBehavior, and InstanceSecret -- will also + # be added.) + ResourceTags: + SAMPLE: "tag value" + + # Prefix for predefined tags used by Arvados (InstanceSetID, + # InstanceType, InstanceSecret, IdleBehavior). With the + # default value "Arvados", tags are "ArvadosInstanceSetID", + # "ArvadosInstanceSecret", etc. + # + # This should only be changed while no cloud resources are in + # use and the cloud dispatcher is not running. Otherwise, + # VMs/resources that were added using the old tag prefix will + # need to be detected and cleaned up manually. + TagKeyPrefix: Arvados + + # Cloud driver: "azure" (Microsoft Azure) or "ec2" (Amazon AWS). + Driver: ec2 + + # Cloud-specific driver parameters. + DriverParameters: + + # (ec2) Credentials. + AccessKeyID: "" + SecretAccessKey: "" + + # (ec2) Instance configuration. + SecurityGroupIDs: + - "" + SubnetID: "" + Region: "" + EBSVolumeType: gp2 + AdminUsername: debian + + # (azure) Credentials. + SubscriptionID: "" + ClientID: "" + ClientSecret: "" + TenantID: "" + + # (azure) Instance configuration. + CloudEnvironment: AzurePublicCloud + ResourceGroup: "" + Location: centralus + Network: "" + Subnet: "" + StorageAccount: "" + BlobContainer: "" + DeleteDanglingResourcesAfter: 20s + AdminUsername: arvados + + InstanceTypes: + + # Use the instance type name as the key (in place of "SAMPLE" in + # this sample entry). + SAMPLE: + # Cloud provider's instance type. Defaults to the configured type name. + ProviderType: "" + VCPUs: 1 + RAM: 128MiB + IncludedScratch: 16GB + AddedScratch: 0 + Price: 0.1 + Preemptible: false + Mail: MailchimpAPIKey: "" MailchimpListID: "" @@ -455,5 +606,76 @@ Clusters: EmailFrom: "" RemoteClusters: "*": + Host: "" + Proxy: false + Scheme: https + Insecure: false + ActivateUsers: false + SAMPLE: + # API endpoint host or host:port; default is {id}.arvadosapi.com + Host: sample.arvadosapi.com + + # Perform a proxy request when a local client requests an + # object belonging to this remote. Proxy: false + + # Default "https". Can be set to "http" for testing. + Scheme: https + + # Disable TLS verify. Can be set to true for testing. + Insecure: false + + # When users present tokens issued by this remote cluster, and + # their accounts are active on the remote cluster, activate + # them on this cluster too. ActivateUsers: false + + Workbench: + # Workbench1 configs + Theme: default + ActivationContactLink: mailto:info@arvados.org + ArvadosDocsite: https://doc.arvados.org + ArvadosPublicDataDocURL: https://playground.arvados.org/projects/public + ShowUserAgreementInline: false + SecretToken: "" + SecretKeyBase: "" + RepositoryCache: /var/www/arvados-workbench/current/tmp/git + UserProfileFormFields: + SAMPLE: + Type: text + FormFieldTitle: "" + FormFieldDescription: "" + Required: true + UserProfileFormMessage: 'Welcome to Arvados. All required fields must be completed before you can proceed.' + ApplicationMimetypesWithViewIcon: + cwl: {} + fasta: {} + go: {} + javascript: {} + json: {} + pdf: {} + python: {} + x-python: {} + r: {} + rtf: {} + sam: {} + x-sh: {} + vnd.realvnc.bed: {} + xml: {} + xsl: {} + LogViewerMaxBytes: 1M + EnablePublicProjectsPage: true + EnableGettingStartedPopup: false + APIResponseCompression: true + APIClientConnectTimeout: 2m + APIClientReceiveTimeout: 5m + RunningJobLogRecordsToFetch: 2000 + ShowRecentCollectionsOnDashboard: true + ShowUserNotifications: true + MultiSiteSearch: false + Repositories: true + SiteName: Arvados Workbench + + # Workbench2 configs + VocabularyURL: "" + FileViewersConfigURL: ""