提问人:FestusZulifar 提问时间:12/2/2022 最后编辑:FestusZulifar 更新时间:12/5/2022 访问量:446
Kubernetes - Helm install dremio - 操作数中意外的“\\”
Kubernetes - Helm install dremio - unexpected "\\" in operand
问:
编辑 看起来我的错误发生了,因为我在 powershell 上,应该使用 linux shell 终端来使用 helm
我是第一次使用官方 Dremio 图表测试 Helm(3.1 版)。
所以这个指令
Powershell\dremio-cloud-tools\charts> helm install dremio-v2 dremio_v2 --debug
打印这个奇怪的错误。
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: C:\Users\nicolas.malgat\Documents\mes fichiers\DREMIO\DEV Data Plateforme Dremio\dremio-cloud-tools\charts\dremio_v2
W1201 17:56:55.195028 21916 azure.go:92] WARNING: the azure auth plugin is deprecated in v1.22+, unavailable in v1.26+; use https://github.com/Azure/kubelogin instead.
To learn more, consult https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Error: INSTALLATION FAILED: template: dremio/templates/dremio-master.yaml:22:39: executing "dremio/templates/dremio-master.yaml" at <tpl ($.Files.Glob "config/*").AsConfig $>: error calling tpl: error during tpl function execution for "core-site.xml: \"<?xml version=\\\"1.0\\\"?>\\r\\n<configuration>\\r\\n <!-- If you are editing\n any content in this file, please remove lines with double curly braces around them\n -->\\r\\n{{- if
and $.Values.distStorage.type (ne $.Values.distStorage.type \\\"local\\\")\n -}}\\r\\n {{- if eq $.Values.distStorage.type \\\"gcp\\\" -}}\\r\\n <!-- GCS Configuration\n Section -->\\r\\n <property>\\r\\n <name>
... // A lot of XML configuration file
</else>\\r\\n </if>\\r\\n </root>\\r\\n\\r\\n</configuration>\\r\\n\"": parse error at (dremio/templates/dremio-master.yaml:3): unexpected "\\" in operand
INSTALLATION FAILED
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:141
github.com/spf13/cobra.(*Command).execute
github.com/spf13/[email protected]/command.go:872
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/[email protected]/command.go:990
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/[email protected]/command.go:918
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1571
希望有人能理解这个“操作数中的”意外“\”是关于什么的
我尝试使用 vscode 正则表达式替换删除大括号并删除文档中的每个“\”。
答: 暂无答案
上一个:雪花中的 Dremio 连接
下一个:具有递归性质的 SQL 查询
评论
helm template foo dremio_v2
ERROR: The 'local' distStorage type is no longer supported in Dremio 21.0.0 or later.
helm template --set distStorage.type=gcp foo dremio_v2