Available in: Open/CE, Core, BE, SE, SE+, Ultimate/EE
Included in extensions: Billing
The module lifecycle stage: Generally available version
The module has requirements for installation
The module is a service component that ensures the proper functioning of the commander module.
Requirements
The module requires Commander v1.17.0 or newer. Starting from that version Commander reports
support for strict tunnel authentication and presents the agent service token in tunnel requests.
With an older Commander the agent does not establish the tunnel: such a managing side cannot present credentials, and proxying requests anonymously is not allowed. In this state the agent pod keeps restarting, and the container log names the reason and the required Commander version. Upgrading Commander restores the agent without any action inside the managed cluster.
The module shutdown cleanup requires Deckhouse 1.77 or newer. On disable the module removes
the system resources it applied across the cluster (the commander DexProvider, the billing
PrometheusRemoteWrite objects, the d8-commander-uuid ConfigMap in kube-system — the marker
whose leftover would block attaching the cluster to another Commander), re-enables the
terraform-manager module the attach had disabled, and strips the agent’s labels (heritage,
agent.commander.deckhouse.io/is-tracked and the other agent.commander.deckhouse.io/ labels)
from the other resources the agent applied; those resources stay in the cluster. On Deckhouse
older than 1.77 the cleanup does not run: the module is disabled, but the resources and the
labels remain. After the cleanup the cluster can be attached to another Commander without manual edits.