helm部署traefik到k8s

环境及要求

Kubernetes Version:1.18.5 单机版(in MacBook pro)
Docker Version:ce-19.03
traefik搭建要求:

  • Kubernetes 1.14+
  • Helm version 3.x is installed

部署步骤

helm repo add traefik https://helm.traefik.io/traefik
helm repo update
helm install traefik traefik/traefik

Exposing the Traefik dashboard¶

出于安全考虑,默认情况下HelmChart不公开Traefik Dashboard。
有多种方法可以公开仪表板。例如,可以通过端口转发实现仪表板访问
kubectl port-forward $(kubectl get pods --selector "app.kubernetes.io/name=traefik" --output=name) 9000:9000
访问url: http://127.0.0.1:9000/dashboard/

你可能感兴趣的:(helm部署traefik到k8s)