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"}
$ helm install guestbook
Error: failed to download "guestbook" (hint: running `helm repo update` may help)
$ helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
$ 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
There are five different ways you can express the chart you want to install:
helm install stable/mariadb
helm install ./nginx-1.2.3.tgz
helm install ./nginx
helm install https://example.com/charts/nginx-1.2.3.tgz
helm install --repo https://example.com/charts/ nginx
There is example using option number 3
Download github repository using this command:
git clone https://github.com/phcollignon/helm
Then go to the lab5_helm_chart_version1 file
cd helm/lab5_helm_chart_version1
And simply use helm install to create guestbook
helm install chart/guestbook/ --name guestbook