Upgrading the Traefik Hub Agent¶
Upgrading an Existing Agent Installation¶
This document demonstrates how to upgrade an existing Traefik Hub Agent installation in different environments.
Since the default installation method in Kubernetes environments is Helm, upgrading an existing installation is simple.
First, refresh the helm chart to get the newest version and then re-run the installation command:
helm repo update helm upgrade --install hub-agent traefik-hub/hub-agent \ --set token="my-token" --namespace hub-agent
To upgrade the Agent In Docker, you need to change the image tag to a newer version.
Either by re-running the
docker run command with the new version or in case of docker-compose, just changing the tag.
services: # Start the agent with the latest version hub-agent: image: ghcr.io/traefik/hub-agent-traefik:the-new-version