Aller au contenu principal

Node groups

A node group gathers several execution nodes that share a queue, like CI runners: each turn of an agent bound to the group goes to the first free node. Use a group to share a pool of machines between agents and people, to absorb load, and to keep agents running when one machine is off.

Before you start​

  • You need the See node groups and their queue permission to view groups, and the matching permissions to create and change them.
  • The nodes must be associated with the organization. See Execution nodes.

Create a group​

  1. Open Execution nodes, then the Groups tab.
  2. Click Create group.
  3. Enter a Name and a Description, and add Nodes.
  4. Set the Group rules:
    • Give up an execution without a node after: how long a turn may wait when no node can take it (1 hour, 24 hours, 7 days).
    • Wait for the node keeping the environment: when a conversation's environment is kept on a busy node, how long to wait for it before using another node (none, 10 or 30 minutes, no limit).
    • Release an environment after: how long an unused environment is kept (24 hours, 7 days, never).
  5. Confirm.

To run a group of nodes on servers or Kubernetes, with no one at the keyboard, see Run a cluster of execution nodes. A CLI node can join a group with breign node join <group>.

Bind agents to the group​

On each agent, in the Execution block, choose Node group, the group, a runtime and a folder. See Choose where your agent runs.

Follow the queue​

Open the group:

  • Executions: Waiting, Running and Finished in the last 24 hours. Cancel a turn, or Start elsewhere to send it to another node.
  • Waiting by agent: which agents have turns queued.
  • Nodes of {group}: Add a node or Remove from group.
  • Kept environments: the working copies kept for conversations. Release frees one.

Acting on other people's executions or releasing environments needs the matching permissions.

If something goes wrong​

  • Turns stay in Waiting: no node of the group is online, or none has the agent's runtime. Start a node, or check the runtime coverage on the agent's Execution block.
  • "Agents are bound to this group: bind them elsewhere before deleting it.": change those agents' Execution first.
  • A conversation lost its files: its environment was released (by the rule, or with Release). Raise Release an environment after.