升级rancher出现错误

2020-09-11  本文已影响0人  bjmingyang

从2.4.7 升级到2.4.8 出现如下错误

./helm upgrade rancher rancher-latest/rancher --namespace cattle-system  --set hostname=rancher.daodao.com
Error: UPGRADE FAILED: unable to recognize "": no matches for kind "Issuer" in version "certmanager.k8s.io/v1alpha1"

按文档用如下方法解决

./helm get values rancher -n cattle-system
USER-SUPPLIED VALUES:
hostname: rancher.daodao.com
ingress:
  tls:
    source: secret
./helm upgrade rancher rancher-latest/rancher --namespace cattle-system  --set hostname=rancher.daodao.com --set  ingress.tls.source=secret
Release "rancher" has been upgraded. Happy Helming!
NAME: rancher
LAST DEPLOYED: Fri Sep 11 16:45:51 2020
NAMESPACE: cattle-system
STATUS: deployed
REVISION: 3
TEST SUITE: None
NOTES:
Rancher Server has been installed.

NOTE: Rancher may take several minutes to fully initialize. Please standby while Certificates are being issued and Ingress comes up.

Check out our docs at https://rancher.com/docs/rancher/v2.x/en/

Browse to https://rancher.daodao.com

Happy Containering!
上一篇 下一篇

猜你喜欢

热点阅读