This commit is contained in:
2025-11-27 14:25:56 +08:00
parent 6220dd6b70
commit a8f4a4d970
3 changed files with 27 additions and 2 deletions

View File

@@ -133,7 +133,8 @@ spec:
app: traefik
spec:
serviceAccountName: traefik
# hostNetwork: true # 部署在主节点,使用 hostNetwork
nodeSelector:
kubernetes.io/hostname: kevisual # 节点主机名是 kevisual
containers:
- name: traefik
image: traefik:latest