Error: file 'home/user/values.yaml' seems to be a YAML file, but expected a gzipped archive
Error: file 'home/user/values.yaml' seems to be a YAML file, but expected a gzipped archive
我正在尝试使用 helm 安装 Kube Prometheus Stack。
我已经设置了入口,所以它需要 运行 在代理后面。
为此,我使用以下命令更新了图表的值。
helm show values prometheus-com/kube-prometheus-stack > values.yaml
我按照这个 doc 并更改了配置,
[server]
domain = example.com
现在我正在尝试使用以下命令进行安装。
helm install monitoring ./values.yaml -n monitoring
我已经创建了一个命名空间monitoring
我在 运行 上面的命令中遇到以下错误。
Error: file '/home/user/values.yaml' seems to be a YAML file, but expected a gzipped archive
你的 helm 命令应该是这样的:
$ helm install <release-name> <registry-name>/<chart-name> --values ./values.yaml -n monitoring
我正在尝试使用 helm 安装 Kube Prometheus Stack。
我已经设置了入口,所以它需要 运行 在代理后面。
为此,我使用以下命令更新了图表的值。
helm show values prometheus-com/kube-prometheus-stack > values.yaml
我按照这个 doc 并更改了配置,
[server]
domain = example.com
现在我正在尝试使用以下命令进行安装。
helm install monitoring ./values.yaml -n monitoring
我已经创建了一个命名空间monitoring
我在 运行 上面的命令中遇到以下错误。
Error: file '/home/user/values.yaml' seems to be a YAML file, but expected a gzipped archive
你的 helm 命令应该是这样的:
$ helm install <release-name> <registry-name>/<chart-name> --values ./values.yaml -n monitoring