通过 kubespray
安装了一个 k8s 集群,使用默认的 vagrant Vagrantfile设置。
操作系统选择centos
。
集群设置完成后,在 master 主机上运行命令:
$ kubectl version
Client Version: version.Info{Major:"", Minor:"", GitVersion:"v1.9.0+coreos.0", GitCommit:"1b69a2a6c01194421b0aa17747a8c1a81738a8dd", GitTreeState:"clean", BuildDate:"2017-12-19T02:52:15Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"", Minor:"", GitVersion:"v1.9.0+coreos.0", GitCommit:"1b69a2a6c01194421b0aa17747a8c1a81738a8dd", GitTreeState:"clean", BuildDate:"2017-12-19T02:52:15Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
已从 github 下载最新的 Helm
.
$ ./helm init
$ ./helm version
Client: &version.Version{SemVer:"v2.8.0", GitCommit:"14af25f1de6832228539259b821949d20069a222", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.8.0", GitCommit:"14af25f1de6832228539259b821949d20069a222", GitTreeState:"clean"}
$ ./helm search
...
stable/phpbb 0.6.1 3.2.2 Community forum that supports the notion of use...
...
$ ./helm install stable/phpbb
Error: no available release name found
为什么安装的时候找不到?
最佳答案
您是否尝试过添加 --name my-release?
关于linux - Helm install from stable got no available release name found 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48436695/