IBM Cloud Private Catalog doesn't display Helm charts

大憨熊 提交于 2019-12-08 03:22:29

问题


The catalog page in IBM Cloud Private is empty, and the following error message is in the helm-api pod logs:

'ERROR' 'getChartsFromRepo(recursive) error: getaddrinfo EAI_AGAIN raw.githubusercontent.com:443’

How do I fix this?


回答1:


There might be a bad IP Address for the DNS server in the /etc/resolv.conf and /etc/network/interfaces files.

  1. In the /etc/network/interfaces file, replace the dns-nameservers parameter value with 8.8.8.8, or your DNS server's IP address. in
  2. In the /etc/resolv.conf file, replace the name server value with 8.8.8.8, or your DNS server's IP address.
  3. From the IBM Cloud Private UI, open the Deployments page, and delete the dns-kube pod.

Once that pod is recreated, you should be able to view Helm charts in the catalog.




回答2:


I faced the same problem for IBM CAM 3.1.2 and IBM Cloud Private 3.1.2 installation (offline installation). Helm charts not appeared in the Catalog page.

I solved the problem by manually deleting the below Helm charts: (Go to IBM Cloud Private web console, Manage > Helm Repositories)

ibm-charts
ibm-community
ppc64le-isv-charts
ibm-charts-public

(You can delete them by clicking the icon ・・・ on the right side, then click delete)

After all of the above charts deleted, go to Manage > Helm Repositories > Sync repositories. Then, go to Catalog, and you will find some available charts (eg: ibm-cam, etc)



来源:https://stackoverflow.com/questions/47931208/ibm-cloud-private-catalog-doesnt-display-helm-charts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!