replicaCount: 1 image: repository: docker.io/lostecho6174/mark_word_fastapi # <-- 替换为你的容器注册表路径和镜像名称 pullPolicy: IfNotPresent tag: "390b0b90e23ee3d685cf520ca42559ff38162e2c" # <-- TeamCity 将会更新这个标签 service: type: ClusterIP # 或 LoadBalancer,根据你的需求 port: 8000 # 更多配置可以按需添加,例如 resources, probes 等 ingress: enabled: true className: traefik # K3s 默认使用 Traefik host: markword.simpla.dev # <-- 替换为你希望访问的域名 # 或者使用 Node IP 直接访问 # path: / # pathType: Prefix # tls: # - hosts: # - markword.simpla.dev # secretName: fastapi-tls-secret # 你的TLS Secret名称