相关疑难解决方法(0)

错误:安装错误:服务器找不到请求的资源HELM Kubenetes

我做了什么:
我将Helm与

curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
helm init --history-max 200
Run Code Online (Sandbox Code Playgroud)


出现错误:

$HELM_HOME has been configured at /root/.helm.
Error: error installing: the server could not find the requested resource
Run Code Online (Sandbox Code Playgroud)
  1. 该错误是什么意思?
  2. 我应该如何安装头盔和耕作机?

Ubuntu版本:18.04
Kubernetes版本:1.16
Helm版本:

helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Error: could not find tiller
Run Code Online (Sandbox Code Playgroud)

更新:
我尝试了@shawndodo的答案,但仍未安装分till

helm init --service-account tiller --override spec.selector.matchLabels.'name'='tiller',spec.selector.matchLabels.'app'='helm'
--output yaml | sed 's@apiVersion: extensions/v1beta1@apiVersion: apps/v1@' | kubectl apply -f -
Run Code Online (Sandbox Code Playgroud)

更新2:
helm init --history-max 200在Kubernetes 1.15版中工作

kubernetes kubernetes-helm

5
推荐指数
2
解决办法
4408
查看次数

Unable to deploy services using helm chart on Kubernetes cluster

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 …
Run Code Online (Sandbox Code Playgroud)

kubernetes kubernetes-helm

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

kubernetes ×2

kubernetes-helm ×2