Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]首次安装无法访问 #4040

Open
whg517 opened this issue Mar 12, 2025 · 3 comments
Open

[Question]首次安装无法访问 #4040

whg517 opened this issue Mar 12, 2025 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@whg517
Copy link

whg517 commented Mar 12, 2025

General Question

你好,很高兴接触 zadig 。我正在尝试使用,但是我感觉官方文档中的基于 helm 安装的使用教程写的不够详细,所以现在我正常安装了 zadig 集群,但是无法访问。

Image

在使用 helm 安装的步骤中,明显很多内容太过简要,对于出现的问题不知道从何处排查。

下面我说一下我的情况:

我使用 k3s 安装了但节点 1.31 的 k8s 。集群自带了 traefik ingress 和 klipper svcLB 。我是 chart 安装的 value 如下:

endpoint:
  # endpoint.type is the type of Zadig system endpoint. It can be of type FQDN or IP. By default the type is FQDN.
  type: FQDN
  # FQDN is the domain name the user choose to visit in. It must be set if endpoint is of type FQDN.
  FQDN: zadig.whg.cn

dex:
  fullnameOverride: zadig-dex
  config:
    issuer: http://zadig-dex:5556/dex
    staticClients:
      - id: zadig
        redirectURIs:
          - "http://zadig.whg.cn/api/v1/callback"
        name: "zadig"
        secret: ZXhhbXBsZS1hcHAtc2VjcmV0

安装完后,所有 pod 正常启动。 gateway-proxy 服务使用 LB 正常获取到 IP:

Image

在我本地将域名解析到IP后,无法通过域名访问。更奇怪的是直接 telnet svc 的 80 443 端口也不通。

我尝试寻找,看到项目底层使用了 solo 这个项目,简单看了一些内容,发现 zadig 安装依赖的 gloo 是 1.9 ,现在 gloo 的文档版本在 1.17-1.18 。由于我对这个项目并不熟悉,所以我放弃了。

我想说的是,如过项目通过简单的 ingress ,如 nginx-ingress , traefik-ingress 访问,我还能解决。现在项目使用了 gloo ,我现在已经无法解决了。而当我回到文档,却只能重复阅读“并在安装完成后将流量解析至 gateway-proxy 服务”这句话时,我是很绝望的。

在我调研期间,我基本把 zadig 的文档内容读一遍了,对它的功能特性有了基本的了解。文档的内容写的很细,但是我很是困惑的是为什么将安装步骤写的如此简介呢?我不是很理解,单我已经有放弃使用的想法了。

我很喜欢像 ranchercalico 这些项目中的安装教程,它们对新手做了很细节的指引和描述。

@whg517 whg517 added the question Further information is requested label Mar 12, 2025
@whg517
Copy link
Author

whg517 commented Mar 12, 2025

我尝试使用官方运维工具安装,但是好像脚本有问题:

Image

@CoolBoy888l
Copy link

CoolBoy888l commented Mar 13, 2025

我这边看起来安装完还得联网才能用,内网环境根本跑不起来

@whg517
Copy link
Author

whg517 commented Mar 13, 2025

@CoolBoy888l 你好。你是说我这边需要能连外网才能跑起来还是什么意思?

我这边的环境连接公网,还是外网都没有问题, containerd 通过代理可以访问所有镜像注册表。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants