Notice: 函数 _load_textdomain_just_in_time 的调用方法不正确。 twentyfifteen
域的翻译加载触发过早。这通常表示插件或主题中的某些代码运行过早。翻译应在 init
操作或之后加载。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 6.7.0 版本添加的。) in /var/www/html/wp-includes/functions.php on line 6114
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:6114) in /var/www/html/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":57,"date":"2023-04-11T16:54:42","date_gmt":"2023-04-11T08:54:42","guid":{"rendered":"https:\/\/blog.lvhang.site\/?p=57"},"modified":"2023-05-11T22:11:16","modified_gmt":"2023-05-11T14:11:16","slug":"k3s-%e4%b8%ad-lets-encrypt-%e9%85%8d%e7%bd%ae%e7%a4%ba%e4%be%8b","status":"publish","type":"post","link":"https:\/\/blog.lvhang.site\/2023\/04\/11\/k3s-%e4%b8%ad-lets-encrypt-%e9%85%8d%e7%bd%ae%e7%a4%ba%e4%be%8b\/","title":{"rendered":"k3s \u4e2d let’s encrypt \u914d\u7f6e\u793a\u4f8b"},"content":{"rendered":"\n
k3s \u4e2d\u9ed8\u8ba4\u4f7f\u7528 traefik\uff0c\u9ed8\u8ba4\u901a\u8fc7 helmchart config \u6765\u914d\u7f6e traefik\uff0c\u914d\u7f6e\u6587\u4ef6\u9700\u8981\u653e\u5728\u76ee\u5f55 \/var\/lib\/rancher\/k3s\/server\/manifests\/ \uff0c \u63a8\u8350\u5728\u8be5\u76ee\u5f55\u4e2d\u6dfb\u52a0\u914d\u7f6e\u6587\u4ef6 traefik-config.yaml\uff0c\u5b8c\u6574\u76ee\u5f55 \/var\/lib\/rancher\/k3s\/server\/manifests\/traefik-config.yaml\uff0ck3s \u4f1a\u5728\u8be5\u6587\u4ef6\u53d8\u66f4\u540e\u81ea\u52a8\u91cd\u65b0\u90e8\u7f72 traefik\u3002<\/p>\n\n\n\n
apiVersion: helm.cattle.io\/v1\nkind: HelmChartConfig\nmetadata:\n name: traefik\n namespace: kube-system\nspec:\n valuesContent: |-\n securityContext: #\u6307\u5b9atraefik\u8fd0\u884c\u4e0a\u4e0b\u6587\u4ee5\u4fdd\u8bc1\u80fd\u6b63\u5e38\u8bbf\u95ee acme.json\u6587\u4ef6\n readOnlyRootFilesystem: true\n runAsGroup: 1000\n runAsNonRoot: true\n runAsUser: 1000\n deployment:\n additionalVolumes: # \u6dfb\u52a0\u7528\u4e8e\u4fdd\u5b58 acme.json \u7684PVC\n - name: acme-storage\n persistentVolumeClaim:\n claimName: acme-pvc\n additionalVolumeMounts: # \u6dfb\u52a0\u7528\u4e8e\u4fdd\u5b58 acme.json \u7684volumemount\n - name: acme-storage\n mountPath: \/acme\n certResolvers:\n letsencrypt: #\u5b9a\u4e49 letsencrpty\u8bc1\u4e66resolvers\n email: example@email.com\n dnsChallenge:\n provider: tencentcloud #\u4ee5dnspod\u4e3a\u4f8b\n storage: \/acme\/acme.json\n env: #\u7528\u4e8e tencentcloud dnschallenge \u6240\u9700\u7684\u73af\u5883\u53d8\u91cf\n - name: TENCENTCLOUD_SECRET_ID\n value: idxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n - name: TENCENTCLOUD_SECRET_KEY\n value: keyxxxxxxxxxxxxxxxxxxxxxxxxxxx<\/code><\/pre>\n\n\n\n\u5173\u4e8e\u66f4\u591a\u7684 dnsChallenge provider \u53ef\u53c2\u8003\u8be5\u6587\u6863\uff1a Traefik Let’s Encrypt Documentation – Traefik<\/a><\/p>\n\n\n\ntraefik \u914d\u7f6e\u5b8c\u6210\u540e\u53ea\u9700\u5728 ingress route \u4e2d\u505a\u5982\u4e0b\u7b80\u5355\u914d\u7f6e\u4fbf\u53ef\u4f7f\u7528 let’s encrypt \u8bc1\u4e66<\/p>\n\n\n\n
apiVersion: traefik.containo.us\/v1alpha1\r\nkind: IngressRoute\r\nmetadata:\r\n name: argocd-websecure-ir\r\n namespace: xxxx\nspec:\r\n entryPoints:\r\n - websecure\r\n tls:\r\n certResolver: letsencrypt # \u6307\u5b9acertResolver<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"