-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds the rack-topology package feature with possible values of single-sled or multi-sled. single-sled is intended for dev/CI deployments, while multi-sled is intended for dogfood/prod. The value of this determines which nexus config-partial.toml is packaged. Right now the only difference single/multi is the crucible region allocation strategy.
- Loading branch information
1 parent
4885fb2
commit 960489f
Showing
10 changed files
with
114 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# | ||
# Oxide API: partial configuration file | ||
# | ||
|
||
[console] | ||
# Directory for static assets. Absolute path or relative to CWD. | ||
static_dir = "/var/nexus/static" | ||
session_idle_timeout_minutes = 60 | ||
session_absolute_timeout_minutes = 480 | ||
|
||
[authn] | ||
schemes_external = ["session_cookie", "access_token"] | ||
|
||
[log] | ||
# Show log messages of this level and more severe | ||
level = "debug" | ||
mode = "file" | ||
path = "/dev/stdout" | ||
if_exists = "append" | ||
|
||
# TODO: Uncomment the following lines to enable automatic schema | ||
# migration on boot. | ||
# | ||
# [schema] | ||
# schema_dir = "/var/nexus/schema/crdb" | ||
|
||
[background_tasks] | ||
dns_internal.period_secs_config = 60 | ||
dns_internal.period_secs_servers = 60 | ||
dns_internal.period_secs_propagation = 60 | ||
dns_internal.max_concurrent_server_updates = 5 | ||
dns_external.period_secs_config = 60 | ||
dns_external.period_secs_servers = 60 | ||
dns_external.period_secs_propagation = 60 | ||
dns_external.max_concurrent_server_updates = 5 | ||
# How frequently we check the list of stored TLS certificates. This is | ||
# approximately an upper bound on how soon after updating the list of | ||
# certificates it will take _other_ Nexus instances to notice and stop serving | ||
# them (on a sunny day). | ||
external_endpoints.period_secs = 60 | ||
|
||
[default_region_allocation_strategy] | ||
# by default, allocate without requirement for distinct sleds. | ||
# seed is omitted so a new seed will be chosen with every allocation. | ||
type = "random" |