Reducing network traffic for zero-touch computing node initialization
A method may include transmitting, by a proxy node within a subnet, one or more messages to a cluster creation service to register a plurality of nodes within the subnet with the cluster creation service, receiving, at the proxy node, from the cluster creation service, a cluster creation request identifying a group of nodes of the plurality of nodes to form a cluster, and transmitting, by the proxy node, the cluster creation request to one or more of the group of nodes.
1 . A method comprising:
transmitting, by a proxy node within a subnet, one or more messages to a centralized cluster creation service external to a data center containing the subnet to register a plurality of nodes within the subnet with the cluster creation service;
receiving, at the proxy node, from the cluster creation service, a cluster creation request identifying a group of nodes of the plurality of nodes to form a cluster; and
transmitting, by the proxy node, the cluster creation request to one or more of the group of nodes.
2 . The method of claim 1 , further comprising automatically selecting, by the plurality of nodes, the proxy node from the plurality of nodes.
3 . The method of claim 1 , further comprising automatically selecting, by the plurality of nodes, in response to the proxy node being unavailable, a new proxy node from the plurality of nodes.
4 . The method of claim 1 , wherein transmitting the one or more messages to the cluster creation service comprises transmitting the one or more messages using an agent of the cluster creation service executed on the proxy node.
5 . The method of claim 1 , wherein the cluster creation request includes an indication of a leader node for the cluster.
6 . The method of claim 1 , wherein each node of the plurality of nodes includes an agent of the cluster creation service.
7 . The method of claim 1 , further comprising discovering, by the proxy node, the plurality of nodes within the subnet.
8 . The method of claim 1 , further comprising transmitting, by the proxy node, a consolidated heartbeat for the plurality of nodes to the cluster creation service.
9 . The method of claim 8 , wherein the consolidated heartbeat indicates a status of the plurality of nodes.
10 . The method of claim 9 , wherein the status indicates that the plurality of nodes are powered on and operational.
11 . The method of claim 8 , wherein transmitting the consolidated heartbeat comprises transmitting the consolidated heartbeat periodically to inform the cluster creation service of the status of the plurality of nodes.
12 . The method of claim 8 , wherein the consolidated heartbeat reduces network traffic from a data center containing the subnet to the cluster creation service by providing status information for the plurality of nodes through a single connection via the proxy node.
13 . An apparatus comprising one or more processors and non-transitory, computer-readable media comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
transmit one or more messages to a centralized cluster creation service external to a data center containing the subnet to register a plurality of nodes within a subnet with the cluster creation service;
receive, from the cluster creation service, a cluster creation request identifying a group of nodes of the plurality of nodes to form a cluster; and
transmit the cluster creation request to one or more of the group of nodes.
14 . The apparatus of claim 13 , wherein the instructions further cause the one or more processors to perform a proxy selection process with the plurality of nodes to select a proxy node from the plurality of nodes, and wherein the proxy node comprises the one or more processors.
15 . The apparatus of claim 13 , wherein the instructions further cause the one or more processors to perform a proxy selection process with the plurality of nodes to select a proxy node from the plurality of nodes in response to a previous proxy node being unavailable.
16 . The apparatus of claim 13 , wherein the instructions further cause the one or more processors to transmit the one or more messages to the cluster creation service using an agent of the cluster creation service executed by the one or more processors.
17 . The apparatus of claim 13 , wherein each node of the plurality of nodes includes an agent of the cluster creation service.
18 . The apparatus of claim 13 , wherein the instructions further cause the one or more processors to discover the plurality of nodes within the subnet.
19 . A system comprising a plurality of nodes within a subnet, the plurality of nodes including a proxy node which executes non-transitory, computer-readable instructions to:
transmit one or more messages to a centralized cluster creation service external to a data center containing the subnet to register a plurality of nodes within a subnet with the cluster creation service;
receive, from the cluster creation service, a cluster creation request identifying a group of nodes of the plurality of nodes to form a cluster; and
transmit the cluster creation request to one or more of the group of nodes.
20 . The system of claim 19 , wherein the plurality of nodes execute non-transitory, computer-readable instructions to automatically select the proxy node from the plurality of nodes.
21 . The system of claim 19 , wherein the plurality of nodes execute non-transitory, computer-readable instructions to select, in response to the proxy node being unavailable, a new proxy node from the plurality of nodes.
22 . The system of claim 19 , wherein the proxy node executes non-transitory, computer-readable instructions to transmit the one or more messages using an agent of the cluster creation service executed on the proxy node.
23 . The system of claim 19 , wherein the cluster creation request includes an indication of a leader node for the cluster.
24 . The system of claim 19 , wherein each node of the plurality of nodes includes an agent of the cluster creation service.
25 . The system of claim 19 , wherein the proxy node executes non-transitory, computer-readable instructions to discover the plurality of nodes within the subnet.