|
83 | 83 | node = { |
84 | 84 | imports = [ |
85 | 85 | # Base cardano-node service |
86 | | - config.flake.cardano-parts.cluster.groups.default.meta.cardano-node-service-ng |
| 86 | + config.flake.cardano-parts.cluster.groups.default.meta.cardano-node-service |
87 | 87 |
|
88 | 88 | # Config for cardano-node group deployments |
89 | 89 | inputs.cardano-parts.nixosModules.profile-cardano-node-group |
|
95 | 95 | ]; |
96 | 96 | }; |
97 | 97 |
|
| 98 | + node-pre = { |
| 99 | + imports = [ |
| 100 | + # Base cardano-node service |
| 101 | + config.flake.cardano-parts.cluster.groups.default.meta.cardano-node-service-ng |
| 102 | + |
| 103 | + # Config for cardano-node group deployments |
| 104 | + inputs.cardano-parts.nixosModules.profile-cardano-node-group |
| 105 | + inputs.cardano-parts.nixosModules.profile-cardano-custom-metrics |
| 106 | + bperfNoPublish |
| 107 | + |
| 108 | + pre |
| 109 | + ]; |
| 110 | + }; |
| 111 | + |
98 | 112 | # Include blockPerf by default with no upstream push to CF -- only push prom metrics |
99 | 113 | bperfNoPublish = { |
100 | 114 | imports = [ |
|
257 | 271 | # }; |
258 | 272 |
|
259 | 273 | mithrilRelease = {imports = [nixosModules.mithril-release-pin];}; |
| 274 | + mithrilSignerDisable = {services.mithril-signer.enable = false;}; |
260 | 275 |
|
261 | 276 | dbsyncPub = { |
262 | 277 | pkgs, |
|
577 | 592 | }; |
578 | 593 | }; |
579 | 594 |
|
| 595 | + # Non-default accepted connection limits for high load relays |
| 596 | + hiConn = { |
| 597 | + services.cardano-node.extraNodeConfig = { |
| 598 | + AcceptedConnectionsLimit = { |
| 599 | + # Default node process NOFILE limit is 65535 |
| 600 | + # If machines support sufficient bandwidth and CPU, defaults can be raised |
| 601 | + |
| 602 | + # Following are the node defaults: |
| 603 | + # hardLimit = 512 |
| 604 | + # softLimit = 384 |
| 605 | + # delay = 5; |
| 606 | + |
| 607 | + hardLimit = 1024; |
| 608 | + softLimit = 768; |
| 609 | + delay = 5; |
| 610 | + }; |
| 611 | + }; |
| 612 | + }; |
| 613 | + |
580 | 614 | buildkite = {imports = [nixosModules.buildkite-agent-containers];}; |
581 | 615 |
|
582 | 616 | bkCfg = queue: { |
|
738 | 772 | # --------------------------------------------------------------------------------------------------------- |
739 | 773 | # Preprod, two-thirds on release tag, one-third on pre-release tag |
740 | 774 | preprod1-bp-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod1") node bp mithrilRelease (declMRel "preprod1-rel-a-1")];}; |
741 | | - preprod1-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod1") node rel preprodRelMig mithrilRelay (declMSigner "preprod1-bp-a-1")];}; |
742 | | - preprod1-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod1") node rel preprodRelMig];}; |
743 | | - preprod1-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod1") node rel preprodRelMig tcpTxOpt];}; |
| 775 | + preprod1-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod1") node rel hiConn preprodRelMig mithrilRelay (declMSigner "preprod1-bp-a-1")];}; |
| 776 | + preprod1-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod1") node rel hiConn preprodRelMig];}; |
| 777 | + preprod1-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod1") node rel hiConn preprodRelMig tcpTxOpt];}; |
744 | 778 | preprod1-dbsync-a-1 = {imports = [eu-central-1 r6a-xlarge (ebs 200) (group "preprod1") dbsync pre smash preprodSmash];}; |
745 | 779 | preprod1-faucet-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod1") node faucet preprodFaucet];}; |
746 | 780 |
|
747 | 781 | preprod2-bp-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod2") node bp mithrilRelease (declMRel "preprod2-rel-b-1")];}; |
748 | | - preprod2-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod2") node rel preprodRelMig];}; |
749 | | - preprod2-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod2") node rel preprodRelMig mithrilRelay (declMSigner "preprod2-bp-b-1")];}; |
750 | | - preprod2-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod2") node rel preprodRelMig tcpTxOpt];}; |
751 | | - |
752 | | - preprod3-bp-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod3") node bp pre mithrilRelease (declMRel "preprod3-rel-c-1")];}; |
753 | | - preprod3-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod3") node rel pre preprodRelMig];}; |
754 | | - preprod3-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod3") node rel pre preprodRelMig];}; |
755 | | - preprod3-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod3") node rel pre preprodRelMig mithrilRelay (declMSigner "preprod3-bp-c-1") tcpTxOpt];}; |
| 782 | + preprod2-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod2") node hiConn rel preprodRelMig];}; |
| 783 | + preprod2-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod2") node hiConn rel preprodRelMig mithrilRelay (declMSigner "preprod2-bp-b-1")];}; |
| 784 | + preprod2-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod2") node hiConn rel preprodRelMig tcpTxOpt];}; |
| 785 | + |
| 786 | + preprod3-bp-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod3") node-pre bp mithrilRelease (declMRel "preprod3-rel-c-1")];}; |
| 787 | + preprod3-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod3") node-pre hiConn rel preprodRelMig];}; |
| 788 | + preprod3-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod3") node-pre hiConn rel preprodRelMig];}; |
| 789 | + preprod3-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preprod3") node-pre hiConn rel preprodRelMig mithrilRelay (declMSigner "preprod3-bp-c-1") tcpTxOpt];}; |
756 | 790 | # --------------------------------------------------------------------------------------------------------- |
757 | 791 |
|
758 | 792 | # --------------------------------------------------------------------------------------------------------- |
|
766 | 800 | preview1-faucet-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview1") node faucet previewFaucet];}; |
767 | 801 |
|
768 | 802 | # Smallest d variant for testing |
769 | | - preview1-test-a-1 = { |
770 | | - imports = [ |
771 | | - eu-central-1 |
772 | | - m5ad-large |
773 | | - # i7ie-2xlarge |
774 | | - (ebs 80) |
775 | | - (nodeRamPct 70) |
776 | | - (group "preview1") |
777 | | - node |
778 | | - # pparamsApi |
779 | | - # tcpTxOpt |
780 | | - bp |
781 | | - pre |
782 | | - # config.flake.cardano-parts.cluster.groups.default.meta.cardano-tracer-service-ng |
783 | | - { |
784 | | - services.mithril-signer.enable = false; |
785 | | - # services.cardano-node = { |
786 | | - # useLegacyTracing = false; |
787 | | - # ngTracer = true; |
788 | | - # # profiling = "space-cost"; |
789 | | - # }; |
790 | | - # services.cardano-tracer = { |
791 | | - # # profiling = "space-cost"; |
792 | | - # }; |
793 | | - } |
794 | | - ]; |
795 | | - }; |
| 803 | + preview1-test-a-1 = {imports = [eu-central-1 m5ad-large (ebs 80) (nodeRamPct 70) (group "preview1") node-pre bp mithrilSignerDisable tcpTxOpt];}; |
796 | 804 |
|
797 | | - preview2-bp-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview2") node bp pre mithrilRelease (declMRel "preview2-rel-b-1")];}; |
798 | | - preview2-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview2") node traceTxs rel pre previewRelMig];}; |
799 | | - preview2-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview2") node rel pre previewRelMig mithrilRelay (declMSigner "preview2-bp-b-1")];}; |
800 | | - preview2-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preview2") node rel pre previewRelMig tcpTxOpt];}; |
| 805 | + preview2-bp-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview2") node-pre bp mithrilRelease (declMRel "preview2-rel-b-1")];}; |
| 806 | + preview2-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview2") node-pre traceTxs rel previewRelMig];}; |
| 807 | + preview2-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview2") node-pre rel previewRelMig mithrilRelay (declMSigner "preview2-bp-b-1")];}; |
| 808 | + preview2-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preview2") node-pre rel previewRelMig tcpTxOpt];}; |
801 | 809 |
|
802 | | - preview3-bp-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preview3") node bp pre mithrilRelease (declMRel "preview3-rel-c-1")];}; |
803 | | - preview3-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview3") node rel pre previewRelMig];}; |
804 | | - preview3-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview3") node rel pre previewRelMig];}; |
805 | | - preview3-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preview3") node rel pre previewRelMig mithrilRelay (declMSigner "preview3-bp-c-1") tcpTxOpt];}; |
| 810 | + preview3-bp-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preview3") node-pre bp mithrilRelease (declMRel "preview3-rel-c-1")];}; |
| 811 | + preview3-rel-a-1 = {imports = [eu-central-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview3") node-pre rel previewRelMig];}; |
| 812 | + preview3-rel-b-1 = {imports = [eu-west-1 r6a-large (ebs 80) (nodeRamPct 70) (group "preview3") node-pre rel previewRelMig];}; |
| 813 | + preview3-rel-c-1 = {imports = [us-east-2 r6a-large (ebs 80) (nodeRamPct 70) (group "preview3") node-pre rel previewRelMig mithrilRelay (declMSigner "preview3-bp-c-1") tcpTxOpt];}; |
806 | 814 | # --------------------------------------------------------------------------------------------------------- |
807 | 815 |
|
808 | 816 | # --------------------------------------------------------------------------------------------------------- |
|
0 commit comments