zeromake / zeromake.github.io

static-blog

Home Page:https://blog.zeromake.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用traefik2暴露k8s-dashboard /pages/traefik2-configure-dashboard/

zeromake opened this issue · comments

/pages/traefik2-configure-dashboard/

指出一个错误:
根据
https://community.traefik.io/t/serverstransport-not-working-with-kubernetes-ingress/12211
以及参考
https://github.com/jtcressy/homelab/blob/11b9e43a8cb3e5aed3075049392f155440b095ad/nested-clusters/clusters/edge/kustomization.yaml#L46
traefik.ingress.kubernetes.io/service.serverstransport 这个annotation应该用在service上,而且为了能够引用到正确的ServersTransport对象,应该使用<matadata.namespace>-<matadata.name>@kubernetescrd 的格式去指定对应的资源