Rancher2.6的一些使用问题

  1. 密文证书显示有问题(域名和过期时间不对)
    2.deployment关联不到ingress,endpoint不显示域名,只有IP
    3.一直在刷ingress-sync update-ingress事件,导致api-server负载很高
    4.跨域问题 由于网络原因 使用 https://xx.xx.xx.xx:14343/, 同时为了方便记忆,加了域名反代, 用域名访问进入集群报500
    5.最主要感觉还是没有以前的UI好用

Q:密文证书显示有问题(域名和过期时间不对)

可以跟踪此issue,这个不是特别紧急的issue。因为我发现只有secret data里面存两份证书时才会出现这个bug,并且使用 openssl 查看并不影响实际效果。

Q:deployment关联不到ingress,endpoint不显示域名,只有IP

在workload detail页可以查看关联的ingress,在list页的确无法看到;
创建ingress时,旧UI可以选择workload,但是这背后的代价是需要维护较为逻辑关系,且k8s角度并没有ingress直接关联workload的设计;
“endpoint不显示域名,只有IP”,我没有太理解这个意思,endpoint本质上就是对应IP。

Q:一直在刷ingress-sync update-ingress事件,导致api-server负载很高

这个你如果有幸可以单独发个帖,详细说一下。单从这一句话,比较难深入细节。

Q:跨域问题 由于网络原因 使用 https://xx.xx.xx.xx:14343/, 同时为了方便记忆,加了域名反代, 用域名访问进入集群报500

这个大概率是你在反向代理中缺少必要的配置,尤其是使用非标准端口时。尝试对比和下面配置作对比:

        location / {
            # This is a key point
            proxy_set_header Host $host:$server_port;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Forwarded-Port $server_port;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_pass http://rancher;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
            # This allows the ability for the execute shell window to remain open for up to 15 minutes. Without this parameter, the default is 1 minute and will automatically close.
            proxy_read_timeout 900s;
            proxy_buffering off;
        }

Q:最主要感觉还是没有以前的UI好用

大多数付费用户推动了新UI的产生,开源产品的背后也是依托商业化运作,付费客户的选择,也是软件发展的优先选择。