update
This commit is contained in:
@@ -174,3 +174,21 @@ tls:
|
||||
- [Traefik 官方文档 - Let's Encrypt](https://doc.traefik.io/traefik/https/acme/)
|
||||
- [Let's Encrypt 速率限制](https://letsencrypt.org/docs/rate-limits/)
|
||||
- [ACME HTTP Challenge](https://letsencrypt.org/docs/challenge-types/#http-01-challenge)
|
||||
|
||||
|
||||
|
||||
## 禁用默认的traefik
|
||||
|
||||
```bash
|
||||
vim /etc/rancher/k3s/config.yaml
|
||||
# 添加以下内容禁用默认traefik
|
||||
disable: traefik
|
||||
# 重启k3s服务
|
||||
systemctl restart k3s
|
||||
|
||||
# 删除默认traefik相关资源
|
||||
kubectl delete job -n kube-system helm-install-traefik helm-install-traefik-crd
|
||||
|
||||
# 安装 Traefik CRD
|
||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v3.0/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
||||
```
|
||||
Reference in New Issue
Block a user