-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(BOUN-1233): rework ic-boundary CLI, bump ic-gateway (#2451)
* Rework `ic-boundary` CLI: re-group & rename, move http client & server CLI to `ic-bn-lib` * `ic-boundary` now gets configured through env vars like `ic-gateway` * Add & enable shedding (for now only the system one) for API BNs misc: * Bump the size limits of governance and ledger canisters because the dependencies affect their sizes and throw over the limit --------- Co-authored-by: IDX GitHub Automation <[email protected]>
- Loading branch information
1 parent
48f45c1
commit f96077d
Showing
28 changed files
with
4,644 additions
and
2,526 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
22 changes: 2 additions & 20 deletions
22
ic-os/components/boundary-guestos/etc/systemd/system/ic-boundary.service
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 |
---|---|---|
@@ -1,34 +1,16 @@ | ||
[Unit] | ||
Description=IC Boundary Reverse Proxy | ||
Description=IC-Boundary | ||
After=network-online.target | ||
Wants=network-online.target | ||
After=setup-ic-boundary.service | ||
BindsTo=setup-ic-boundary.service | ||
|
||
[Service] | ||
LogRateLimitIntervalSec=1ms | ||
LogRateLimitBurst=1000 | ||
User=root | ||
Group=root | ||
Restart=always | ||
EnvironmentFile=/run/ic-node/etc/default/ic-boundary | ||
ExecStart=/bin/bash -c ' \ | ||
/opt/ic/bin/ic-boundary \ | ||
--local-store-path /var/opt/registry/store \ | ||
--nns-pub-key-pem /run/ic-node/etc/default/nns_public_key.pem \ | ||
--nns-urls "${NNS_URL}" \ | ||
--http-port 9000 \ | ||
--metrics-addr "[::]:9324" \ | ||
--log-stdout \ | ||
--log-failed-requests-only \ | ||
--nftables-system-replicas-path /run/ic-node/etc/nftables/system_replicas.ruleset \ | ||
--retry-update-call \ | ||
--rate-limit-per-second-per-subnet "1000" \ | ||
--http-client-count "2" \ | ||
${CACHE_SIZE:+ --cache-size-bytes "${CACHE_SIZE}"} \ | ||
${CACHE_ITEM_MAX_SIZE:+ --cache-max-item-size-bytes "${CACHE_ITEM_MAX_SIZE}"} \ | ||
${CACHE_TTL:+ --cache-ttl-seconds "${CACHE_TTL}"} \ | ||
' | ||
ExecStart=/opt/ic/bin/ic-boundary | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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
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
Oops, something went wrong.