您好,安装报错,能指导一下吗?

[root@kube-master1 c7nctl-0.20.0]# kubectl get svc -n ingress-controller -o yaml
apiVersion: v1
items: []
kind: List
metadata:
resourceVersion: “”
selfLink: “”

你域名解析到了 10.221.8.61 , 你的使用的 traffic ingress 代理这个 IP 的 80 端口吗?没有的话肯定域名检查过不了

您好,nginx-ingress服务已经部署好了,安装也开始向下进行,下面这个错误是什么原因呢?
2020/03/29 09:23:40 [INFO] gitlab-service has task not finish
2020/03/29 09:23:42 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:23:50 [INFO] gitlab-service has task not finish
2020/03/29 09:23:52 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:24:00 [INFO] gitlab-service has task not finish
2020/03/29 09:24:02 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:24:10 [INFO] gitlab-service has task not finish
2020/03/29 09:24:12 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:24:20 [INFO] gitlab-service has task not finish
2020/03/29 09:24:22 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:24:30 [INFO] gitlab-service has task not finish
2020/03/29 09:24:32 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:24:40 [INFO] gitlab-service has task not finish
2020/03/29 09:24:42 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:24:50 [INFO] gitlab-service has task not finish
2020/03/29 09:24:52 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:25:00 [INFO] gitlab-service has task not finish
2020/03/29 09:25:03 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:25:10 [INFO] gitlab-service has task not finish
2020/03/29 09:25:13 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:25:20 [INFO] gitlab-service has task not finish
2020/03/29 09:25:23 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:25:30 [INFO] gitlab-service has task not finish
2020/03/29 09:25:33 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:25:40 [INFO] gitlab-service has task not finish
2020/03/29 09:25:43 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:25:50 [INFO] gitlab-service has task not finish
2020/03/29 09:25:53 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:26:00 [INFO] gitlab-service has task not finish
2020/03/29 09:26:03 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:26:10 [INFO] gitlab-service has task not finish
2020/03/29 09:26:13 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:26:20 [INFO] gitlab-service has task not finish
2020/03/29 09:26:23 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:26:30 [INFO] gitlab-service has task not finish
2020/03/29 09:26:33 [DEBUG] check health failed with msg: get response code 503 retry…
2020/03/29 09:26:40 [INFO] gitlab-service has task not finish

gitlab-service 需要 token,请参见 分步部署,部署gitlab-service时参数问题


您好,请问这个页面是什么问题?是在访问gitlab页面时跳转到这个页面的

api.xxx.xxx 是猪齿鱼的网关服务,gitlab 使用 猪齿鱼的oauth2认证,所以会跳转到这里。

请确定 api.xx.xx 是已经正确DNS解析。

image 是可以解析到的

你本地访问的DNS解析没有问题吗?

本地curl是错误结果,但是用nslookup就可以解析到

安装多次后访问gitlab地址都会返回上述那个无法访问此网站的页面,请问是怎么回事?

1 个赞

你尝试一下为 api.xx.xx 的域名添加本地 hosts。

gateway的容器有报错

尝试过,也还是不行。

你有配置 gitlab 的Choerodon Oauth认证吗?试一下gitlab登陆时 base-service,ouath-server 是否有错误

这个怎么配置呢?

gitlab choerodon oauth 配置,最后一小节的内容。

base-service的日志

ouath-server的日志

这个页面只要一登陆就会跳转到打不开的页面

我觉得是你的gitlab oauth 认证配置错误了。

你F12 看一下具体请求的错误。