Bluemix - 无法获得插件:查找容器服务'来自存储库' Bluemix'

时间:2017-03-23 08:20:14

标签: containers ibm-cloud kubernetes

我正在尝试使用Kubenetes插件安装最新的Bluemix容器服务;但是,我得到了以下信息。其次是DOC - container service

ocmbpro:~ ochen$ bx plugin install container-service -r Bluemix
Looking up 'container-service' from repository 'Bluemix'...
FAILED
'Bluemix' does not exist as an available plug-in repo. Check the name and try again.

Error_msg

有没有人遇到过这个问题?

1 个答案:

答案 0 :(得分:1)

您可以直接在此下载插件二进制文件:

https://clis.ng.bluemix.net/ui/repository.html#bluemix-plugins

然后运行bx plugin install ~/Downloads/my-plugin

您可以运行此命令将Bluemix添加到可用回购列表中:

bx plugin repo-add Bluemix https://plugins.ng.bluemix.net

在那之后,当你列出你的回购时,它应该在那里:

$ bx plugin repos
Listing added plug-in repositories...

Repo Name   URL
Bluemix     https://plugins.ng.bluemix.net

然后你可以列出插件:

$ bx plugin repo-plugins
Getting plug-ins from all repositories...

Repository: Bluemix
Name                      Description                                                                                                                                                  Versions
active-deploy             Bluemix CLI plugin for Active Deploy to help you update applications and containers with no downtime. Works for Cloud Foundry apps and for IBM Containers.   0.1.97, 0.1.105
auto-scaling              Bluemix CLI plug-in for Auto-Scaling service                                                                                                                 0.2.1, 0.2.2
vpn                       Bluemix CLI plug-in for IBM VPN service                                                                                                                      1.5.0, 1.5.1, 1.5.2
private-network-peering   pnp-plugin-description                                                                                                                                       0.1.1
IBM-Containers            Plugin to operate IBM Containers service                                                                                                                     1.0.0
container-registry        Plugin for IBM Bluemix Container Registry.                                                                                                                   0.1.104, 0.1.107
container-service         IBM Bluemix Container Service for management of Kubernetes clusters                                                                                          0.1.217
sdk-gen                   Plugin to generate SDKs from Open API specifications                                                                                                         0.1.1
dev                       IBM Bluemix CLI Developer Plug-in                                                                                                                            0.0.5

然后你可以安装一个:

bluemix plugin install plugin_name -r Bluemix