Helm 安装 traefik

 

官方文档

https://doc.traefik.io/traefik/getting-started/install-traefik/

 

Ensure that the following requirements are met:

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

 

Add Traefik's chart repository to Helm:

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

 

You can update the chart repository by running:

helm repo update

 

And install it with the helm command line:

helm install traefik traefik/traefik

 

Exposing the Traefik dashboard

kubectl port-forward $(kubectl get pods --selector "app.kubernetes.io/name=traefik" --output=name) 9000:9000 --address=$YOUR_IP

 

Accessible with the url: http://$YOUR_IP:9000/dashboard/

http://192.168.75.111:9000/dashboard/#/

 

posted @ 2021-03-02 14:57  caocong  阅读(1888)  评论(0编辑  收藏  举报