我在Helm遇到了一些错误,我无法在其他地方找到解释.这两个错误如下.
Error: no available release name found
Error: the server does not allow access to the requested resource (get configmaps)
Run Code Online (Sandbox Code Playgroud)
这两个错误的进一步细节在下面的代码块中.
我在Ubuntu 16.04上安装了Kubernetes集群.我有一个Master(K8SMST01)和两个节点(K8SN01和K8SN02).
这是使用kubeadm使用Weave网络创建的1.6+.
就部署,服务,Pod等而言,一切似乎运行良好...... DNS似乎工作正常,这意味着pod可以使用DNS名称(myservicename.default)访问服务.
使用"helm create"和"helm search"工作,但与分蘖部署交互似乎不起作用.根据Helm安装文档安装并运行Tiller.
root@K8SMST01:/home/blah/charts# helm version
Client: &version.Version{SemVer:"v2.3.0",
GitCommit:"d83c245fc324117885ed83afc90ac74afed271b4", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.3.0", GitCommit:"d83c245fc324117885ed83afc90ac74afed271b4", GitTreeState:"clean"}
root@K8SMST01:/home/blah/charts# helm install ./mychart
Error: no available release name found
root@K8SMST01:/home/blah/charts# helm ls
Error: the server does not allow access to the requested resource (get configmaps)
Run Code Online (Sandbox Code Playgroud)
以下是正在运行的播客:
root@K8SMST01:/home/blah/charts# kubectl get pods -n kube-system -o wide
NAME READY STATUS RESTARTS AGE …Run Code Online (Sandbox Code Playgroud)