valuesContent: |-
...
ssl:
enabled: true
dashboard:
enabled: true
domain: "traefik.me.k3s"
....
https://blog.csdn.net/j610152753/article/details/127251204
https://www.cnblogs.com/JoePotter/p/16776811.html
https://kubernetes.github.io/ingress-nginx/
apiVersion版本支持: https://kubernetes.github.io/ingress-nginx/deploy/
yaml配置说明: https://kubernetes.io/docs/concepts/services-networking/ingress/
traefik证书配置 https://doc.traefik.io/traefik/https/tls/
https://jia.je/devops/2022/02/22/k3s-traefik-client-ip/
https://www.kubesphere.io/zh/blogs/how-to-get-real-ip-in-pod/
nginx-ingress 获取真实ip说明: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#use-forwarded-headers
vi /var/lib/rancher/k3s/server/manifests/traefik-config.yaml
spec:
externalTrafficPolicy: Local