【问题标题】:Issue in helm command execution, helm show command doesn't workhelm 命令执行中的问题,helm show 命令不起作用
【发布时间】:2021-07-13 07:18:21
【问题描述】:

我正在使用以下命令将图表 helm-zabbix 的默认值导出到文件 $HOME/zabbix_values.yaml,因为我正在尝试在 kubernetes 集群上安装 zabbix。

helm show values cetic/zabbix > $HOME/zabbix_values.yaml

但是,我得到以下错误:

错误:“helm”的未知命令“show” 运行 'helm --help' 以供使用。 但是 helm --help 不在命令列表中显示 show 。 我是否需要安装任何 helm 插件或建议任何其他替代方案。

【问题讨论】:

  • 您使用的是哪个版本的 helm?
  • @KamolHasan 客户端:&version.Version{SemVer:"v2.16.11", GitCommit:"73b28bab84490d18ab1b71489a574ee18e229eea", GitTreeState:"clean"}
  • 您能检查 repo 状态或确定 repo 已下载且可用吗?如果您可以拉取 repo 或部署它等。如果没有,helm 应该向您显示一条消息,如 hint: running "helm repo update" may help
  • 我已经运行了 helm repo update ,但还是同样的问题。
  • 你的意思是helm get values

标签: kubernetes command-line prometheus kubernetes-helm zabbix


【解决方案1】:

您应该使用 inspect 而不是 show 命令,因为 helm 版本 2 使用 检查而不是显示

尝试使用

helm inspect values cetic/zabbix

【讨论】:

    猜你喜欢
    • 2020-11-14
    • 1970-01-01
    • 2020-10-16
    • 2022-11-24
    • 1970-01-01
    • 1970-01-01
    • 2022-01-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多