Deb*_*lia 4 kubernetes kubernetes-helm
I am trying to deploy service using helm chart on kubernetes cluster. It is throwing error as
"Error: Non-absolute URLs should be in form of repo_name/path_to_chart, got: guestbook"
Here is the guestbook service that i am deploying https://github.com/phcollignon/helm/tree/master/lab5_helm_chart_version1/
provider.helm v2.14.3
provider.kubernetes v1.16
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:27:17Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Run Code Online (Sandbox Code Playgroud)
$ helm install guestbook
Error: failed to download "guestbook" (hint: running `helm repo update` may help)
Run Code Online (Sandbox Code Playgroud)
$ helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Run Code Online (Sandbox Code Playgroud)
$ helm install guestbook --debug
[debug] Created tunnel using local port: '39069'
[debug] SERVER: "127.0.0.1:39069"
[debug] Original chart version: ""
Error: Non-absolute URLs should be in form of repo_name/path_to_chart, got: guestbook
Run Code Online (Sandbox Code Playgroud)
您可以通过五种不同的方式表达要安装的图表:
helm install stable/mariadbhelm install ./nginx-1.2.3.tgzhelm install ./nginxhelm install https://example.com/charts/nginx-1.2.3.tgzhelm install --repo https://example.com/charts/ nginx有使用选项3的示例
使用以下命令下载 github 存储库:
git clone https://github.com/phcollignon/helm
Run Code Online (Sandbox Code Playgroud)
然后进入lab5_helm_chart_version1文件
cd helm/lab5_helm_chart_version1
Run Code Online (Sandbox Code Playgroud)
只需使用 helm install 创建留言簿
helm install chart/guestbook/ --name guestbook
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
22711 次 |
| 最近记录: |