zeromake / zeromake.github.io

static-blog
https://blog.zeromake.com
Apache License 2.0
3 stars 0 forks source link

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

Open zeromake opened 2 years ago

zeromake commented 2 years ago

/pages/traefik2-configure-dashboard/

fsdrw08 commented 2 years ago

指出一个错误: 根据 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对象,应该使用-@kubernetescrd 的格式去指定对应的资源