charts
charts copied to clipboard
[Feature] Add Traefik Hub Support
trafficstars
Is your feature request related to a problem?
No
Describe the solution you'd like
I would like to be able to link the Traefik instance to Traefik Hub, Traefik's replacement for Traefik Pilot. This requires an additional container reference and other potential complexity.
Describe alternatives you've considered
This is not a feature than should not be added with another container or alternative means.
Additional context
I intend to develop this myself, assuming I have the capacity in the near future. For context, here are Traefik docs on Traefik Hub integration: https://doc.traefik.io/traefik/traefik-hub/
From Traefik Hub setup process:
# Add Traefik proxy Helm repository
helm repo add traefik https://helm.traefik.io/traefik
helm repo update
# Install Traefik proxy
helm upgrade --install traefik traefik/traefik \
--namespace hub-agent --create-namespace \
--set=additionalArguments='{--experimental.hub,--hub}' \
--set metrics.prometheus.addRoutersLabels=true \
--set providers.kubernetesIngress.allowExternalNameServices=true \
--set ports.web=null --set ports.websecure=null --set ports.metrics.expose=true \
--set ports.traefikhub-tunl.port=9901 --set ports.traefikhub-tunl.expose=true --set ports.traefikhub-tunl.exposedPort=9901 --set ports.traefikhub-tunl.protocol="TCP" \
--set service.type="ClusterIP" --set fullnameOverride=traefik-hub
# Add Traefik hub Helm repository
helm repo add traefik-hub https://helm.traefik.io/hub
helm repo update
# Install Traefik hub-agent
helm upgrade --install hub-agent traefik-hub/hub-agent \
--set token="<code provided by Traefik Hub>" --namespace hub-agent \
--create-namespace --set image.pullPolicy=Always --set image.tag=experimental
# Copy your new agent token
<code provided by Traefik Hub>
I've read and agree with the following
- [X] I've checked all open and closed issues and my request is not there.
- [X] I've checked all open and closed pull requests and my request is not there.