ava-labs / avalanche-cli

Other
99 stars 56 forks source link

Add API role to fuji clusters #1942

Open felipemadero opened 3 weeks ago

felipemadero commented 3 weeks ago

Add an API node/API role notion to fuji clusters. A way to define an API node, either separate or among the other nodes, that can be accessed directly without ssh tunneling Also, if possible, add an alias to that node for a given subnet, when a subnet is deployed to the fuji cluster. Better if alias is given using avago config files For alias see https://docs.avax.network/nodes/configure/avalanchego-config-flags#--chain-aliases-file-string Node that only syncs p-chain, that also syncs any subnet for what is node Needs to set http host so it can be accessed without ssh as in https://github.com/ava-labs/avalanche-cli/blob/7088cdec9aee278968b3adfb4f0670794ae0494f/cmd/nodecmd/create_devnet.go#L214