Upgrade collectors
LinkMesh tracks the version each collector runs and tells you when a newer validated version is available. Every collector is upstream otelcol-contrib run by opampsupervisor over OpAMP.
LinkMesh leaves the binary swap to you:
- On a host (Linux VM, bare metal): you re-run the installer with the validated versions pinned. The collector’s detail page shows the exact command.
- On Kubernetes: LinkMesh renders the install manifest at the new image tag, and you apply it.
See which collectors need attention
Section titled “See which collectors need attention”The Collectors list and each collector’s detail page show its running version with a badge:
- Update (amber) — a newer LinkMesh-validated version is available. Informational; upgrade when you’re ready.
- Unvalidated (red) — the collector is running a version LinkMesh hasn’t validated. This can happen after a manual install of an off-list version. Untested versions risk a supervisor/collector mismatch that can crash the collector on restart — re-pin to a validated version.
No badge means the collector is on the current validated version.
The validated versions are pairs of otelcol-contrib and opampsupervisor that LinkMesh tested together. The installer pins to the default pair unless you pass other versions.
Permissions
Section titled “Permissions”Viewing versions and badges only needs read access. The upgrade itself runs on
the host (or in your cluster) with your own credentials, plus an
enrollment token for the installer. The
collectors:upgrade permission still exists so stored roles keep
validating, but it currently grants no action.
Upgrade a collector on a host (re-pin)
Section titled “Upgrade a collector on a host (re-pin)”A collector on a host upgrades by re-running the installer with the validated version pinned. The installer swaps both otelcol-contrib and opampsupervisor to the pinned versions and restarts the service.
-
Open the collector’s detail page and go to the Health tab. When an update is available you’ll see an Upgrade to v<version> panel with a copy-pasteable command.
-
Mint an enrollment token — the installer needs one.
-
Run the command on the collector’s host as root. It looks like:
curl -fsSL https://your-linkmesh-server/install-opamp.sh | sudo bash -s -- --token <ENROLLMENT_TOKEN> --otelcol-version <version> --supervisor-version <version>This upgrades both the collector and its supervisor. The installer stops the service, swaps both binaries, and restarts.
-
The collector reconnects on the new version, LinkMesh re-pushes its config, and telemetry resumes. The badge clears once the collector reports the validated version.
If the new version misbehaves, run the same command with the version the collector ran before. A re-pin is not health-gated: LinkMesh does not roll the host back for you.
Roll out across a fleet of hosts
Section titled “Roll out across a fleet of hosts”There’s no server-driven rolling upgrade. Upgrade a Collector Group by re-pinning host by host: do one host first, confirm it’s healthy and flowing telemetry, then roll the rest with your usual tooling (SSH loop, Ansible, your config management).
Upgrade a collector fleet on Kubernetes
Section titled “Upgrade a collector fleet on Kubernetes”On Kubernetes the collector is the image, so an upgrade is a new image tag. LinkMesh does not change anything in your cluster. It shows which collectors run another version than the one it validated, and renders what you apply: the same install manifest, at the new version.
See which collectors drift
Section titled “See which collectors drift”Open the Kubernetes group (the node group or its cluster collector) and go to the Kubernetes tab. The Collector version card under Cluster setup names the validated otelcol-contrib version and lists every collector with the version it reports:
- Validated — the collector runs the validated version.
- Older or Newer than validated — the collector runs another version. The card’s header counts these.
- Not reported — the collector has not reported a version yet.
- Not connected — the collector is not connected and is not counted. After an upgrade this is the pod the upgrade replaced: it reads as not connected about a minute after it stopped, and leaves the group after a day without contact.
Apply the upgrade
Section titled “Apply the upgrade”-
On the Collector version card, click Upgrade to <version> (or Show the manifest for <version> when nothing drifts). LinkMesh renders the upgrade with a new credential in it, shown only once. The credential your collectors use now stays valid, so nothing stops before you apply. The upgrade is rendered for the platform the group was installed for (Standard, OpenShift, GKE Autopilot or EKS Fargate).
-
Run it with
kubectlpointed at that cluster. It is the install manifest at the new image tag, for the node collectors or the cluster collector.kubectl applychanges only what differs. Copy it, or download it as a file. -
Click Refresh once the new pods run. The drift clears when every connected collector reports the validated version.
What the rollout does to running collectors:
| Collector | Rollout |
|---|---|
| Node collectors | The DaemonSet replaces one pod at a time, and a node’s new pod starts only after its old one is gone. Read positions are kept on the node, so the new pod continues reading pod logs where the old one stopped. Each new pod joins the group as a new collector. |
| Cluster collector | Kubernetes recreates it: the old pod stops before the new one starts, so cluster metrics and events pause while it starts. The new pod enrols as the same collector. |
Manifests kept in Git
Section titled “Manifests kept in Git”If Argo CD or Flux applies your collectors from Git, commit the upgrade there
instead of running it. The card shows a kustomize images: entry with the two
new tags (otelcol-contrib and opampsupervisor). It changes the image tags and
nothing else. The rendered manifest above it is the full manifest at the new
version, including any other change LinkMesh made to it since you installed.
Compare the two before you rely on the tags alone.
Related:
-
Upgrade LinkMesh — the server itself
-
Changelog — what each LinkMesh release changed, and whether it breaks you. otelcol-contrib and opampsupervisor version upstream and are not covered there.