一键部署Choerodon找不到mysql.yaml

  • Choerodon平台版本: 0.21

  • 遇到问题的执行步骤:安装mysql

  • 文档地址:

  • 环境信息(如:节点信息):

  • 报错日志:
    2020/07/09 09:07:11 [INFO] installing mysql
    2020/07/09 09:07:11 [INFO] getting resource https://file.choerodon.com.cn/choerodon-install/0.21/values/mysql.yaml
    2020/07/09 09:07:39 [Error] install failed
    Error: rpc error: code = Unknown desc = Could not get apiVersions from Kubernetes: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request
    Usage:
    c7nctl install [flags]

Flags:
-c, --config-file string User Config file to read from, User define config by this file
–debug enable debug output
-h, --help help for install
–no-timeout disable install job timeout
–prefix string add prefix to all helm release
-r, --resource-file string Resource file to read from, It provide which app should be installed
–skip-input use default username and password to avoid user input
–version string specify a version

Global Flags:
–config string config file (default is $HOME/.c7n.yaml)
-o, --orgCode string org code
-p, --proCode string pro code

rpc error: code = Unknown desc = Could not get apiVersions from Kubernetes: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request

  • 原因分析:

    提出您分析问题的过程,以便我们能更准确的找到问题所在

  • 疑问:

    提出您对于遇到和解决该问题时的疑问

你好,请问k8s集群是使用我们提供的脚本进行搭建的吗?

https://choerodon.io/zh/docs/installation-configuration/steps/install/choerodon/ 按照这里的步骤操作的

请执行以下命令后重试

 kubectl delete -f /etc/kubernetes/plugins/metrics-server/metrics-server.yaml