Inventory group names server and agent are configured through server_group and agent_group variables.
The use of hard-coded group names causes issues when managing multiple clusters within the same inventory. When the control plane is initialized each server node connects to the first member of the server group, and therefore all members of each server group must belong to the same cluster.
This change allows more flexibility in how operators manage their inventory. A configurable agent group is added for completeness.
Changes
Inventory group names
server
andagent
are configured throughserver_group
andagent_group
variables.The use of hard-coded group names causes issues when managing multiple clusters within the same inventory. When the control plane is initialized each server node connects to the first member of the server group, and therefore all members of each
server
group must belong to the same cluster.This change allows more flexibility in how operators manage their inventory. A configurable
agent
group is added for completeness.Linked Issues
https://github.com/k3s-io/k3s-ansible/issues/327