Upgrading a distributed system like Teleport requires care. Because the Auth Service, Proxy Service, and Agents all run independently, they can temporarily run different versions during an upgrade window. Teleport’s version compatibility policy defines which version combinations are safe, and the recommended upgrade sequence ensures you never introduce an incompatible combination.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gravitational/teleport/llms.txt
Use this file to discover all available pages before exploring further.
Version Compatibility Policy
Teleport guarantees backward compatibility within a one-major-version window:- Agents and Proxy instances can run up to one major version behind the Auth Service.
- Agents must never run a newer version than the Auth Service.
- Proxy instances must never run a newer version than the Auth Service.
- You can upgrade the Auth Service first, and agents will continue working while you roll them out.
- You cannot skip major versions during an upgrade. Go from v15 → v16 → v17, not v15 → v17 directly.
Recommended Upgrade Order
Always upgrade in this sequence to maintain compatibility:Back up cluster state
Before upgrading the Auth Service, back up the backend state. The Auth Service may run data migrations on startup that are not reversible without a restore.Follow the Backup and Restore guide for your specific backend.
Upgrade the Auth Service
Upgrade all Auth Service instances to the target version first. In a multi-instance HA setup, Auth Service instances can be upgraded simultaneously—they coordinate through the shared backend.Confirm the cluster is healthy before proceeding.
Upgrade the Proxy Service
After all Auth Service instances are on the target version, upgrade Proxy Service instances. Proxy instances are stateless and can be upgraded simultaneously or one at a time.Test that the Web UI and
tsh login still work before continuing.Upgrade Teleport Agents
Finally, upgrade agents (SSH Service, Kubernetes Service, Database Service, Application Service, and Desktop Service nodes). Agents can be upgraded in any order or all at once.If you have many agents, use the automatic updater described below instead of doing this manually.
Automatic Agent Updates (teleport-update)
For Linux servers runningsystemd, Teleport provides a built-in updater called teleport-update that automatically keeps agents in sync with the cluster version. This is the recommended approach for production deployments—it eliminates manual upgrade steps for individual agent nodes.
How it works
When enabled,teleport-update runs as a systemd timer alongside each agent. It periodically queries the Proxy Service for the target version, downloads the new teleport binary if needed, and restarts the agent in-place during a configured maintenance window.
Enabling managed updates on an existing Linux agent
Run the following on each agent host:Enabling managed updates on a new agent installation
When installing a new agent using the install script, the updater is automatically configured:Configuring the update schedule
The update schedule is stored as a dynamic resource (autoupdate_config) in the cluster and controls when each group of agents updates. Create or edit the schedule with tctl:
Setting the target version (self-hosted only)
On self-hosted clusters, set which version agents should update to:On Teleport Enterprise Cloud, the target version is managed by Teleport. You only need to enable the updater on each agent—you do not set the version yourself.
Dry-run check
To verify that an agent can see the target version without performing an update:Rolling Upgrades for High-Availability Clusters
In an HA deployment with multiple Proxy instances behind a load balancer, you can upgrade without user-facing downtime by performing a rolling upgrade:- Remove one Proxy pod/host from the load balancer.
- Upgrade and restart that Proxy.
- Verify it is healthy and re-add it to the load balancer.
- Repeat for each remaining Proxy instance.
teleport-cluster Helm chart, the chart handles this automatically. The chart automatically waits for the previous Proxy Service version to stop responding before starting the new Auth Service version:
Downgrading and Rollback
To roll back a major version upgrade:- Stop all Teleport services in reverse order: agents → Proxy → Auth.
- Restore the Auth Service backend from the pre-upgrade backup.
- Reinstall the previous Teleport version binaries on all hosts.
- Start services in order: Auth → Proxy → agents.
Upgrading Trusted Clusters
When you have a trust relationship between a root cluster and one or more leaf clusters, upgrade in this order:- Upgrade the root cluster (Auth Service, Proxy, then agents).
- Verify the root cluster is healthy.
- Upgrade each leaf cluster using the same Auth → Proxy → agents sequence.
Related Pages
Architecture
How the Auth Service, Proxy, and Agents interact.
Deploy Cluster
Install and configure a Teleport cluster from scratch.
Helm Charts
Upgrade the teleport-cluster or teleport-kube-agent Helm releases.
tctl Reference
tctl inventory ls and other administrative commands.
