Title
摘要: 1、案例(之前使用的是ingress-nginx,登录一直都没有出现过问题,但是切换成traefik的ingressroute就出现了404的问题,traefik使用的hostNetwork) # ingressroute.yaml apiVersion: traefik.containo.us/v 阅读全文
posted @ 2025-08-31 16:32 xwk123 阅读(1) 评论(0) 推荐(0)
摘要: 1、安装MetalLB helm repo add metallb https://metallb.github.io/metallb helm repo update helm pull metallb/metallb tar -zxf metallb-0.15.2.tgz cd MetalLB/ 阅读全文
posted @ 2025-08-31 16:31 xwk123 阅读(2) 评论(0) 推荐(0)
摘要: 1、修改helm的values.yaml文件 # values.yaml ... hostNetwork: true # 使用宿主机的网络 ports: traefik: port: 8080 .... .... .... web: port: 80 # 端口由 8000 改为 80 .... we 阅读全文
posted @ 2025-08-31 16:30 xwk123 阅读(1) 评论(0) 推荐(0)
摘要: 1、安装traefik helm repo add traefik https://traefik.github.io/charts helm repo update helm search repo traefik --versions 若是出现这种情况将版本调低一点或者升级helm版本就好了 [ 阅读全文
posted @ 2025-08-20 23:43 xwk123 阅读(3) 评论(0) 推荐(0)
摘要: 创建持久化存储 (PVC,PV),建议使用storageclass # pv.yaml apiVersion: v1 kind: PersistentVolume metadata: name: registry-pv labels: app: registry spec: capacity: st 阅读全文
posted @ 2025-08-17 13:33 xwk123 阅读(7) 评论(0) 推荐(0)