我按照说明将ansible经纪人安装到minishfit中。我做了以下:
minishift version
minishift v1.15.1+f19ac09
CDK v3.4.0-2
oc cluster up --service-catalog=true
oc login -u system:admin
oc new-project ansible-service-broker
curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/templates/simple-broker-template.yaml | oc process -n "ansible-service-broker" -f - | oc create -f -
oc get clusterserviceclasses --all-namespaces -o custom-columns=NAME:.metadata.name,DISPLAYNAME:spec.externalMetadata.displayName | grep APB
0e991006d21029e47abe71acc255e807 Pyzip Demo (APB)
135bd0df0401e2fdd52fd136935014fb NGINX (APB)
1dda1477cace09730bd8ed7a6505607e PostgreSQL (APB)
5d0062cce443e5ecb8438ca5f664dcd7 Kibana (APB)
67042296c7c95e84142f21f58da2ebfe MariaDB (APB)
693cb128e68365830c913631300deac0 Pyzip Demo Database (APB)
6df7afbd132c094704b4a8bfd44378c0 ManageIQ (APB)
880ef3b4ba5fa8d80908e9974228e603 AWX (APB)
9f7da06f179b895a8ee5f9a3ce4af7ef Hello World (APB)
a946a139a9308a59bf642ac52b4ba317 Wordpress-HA (APB)
ab24ffd54da0aefdea5277e0edce8425 Hastebin (APB)
aff6d7bb9c7f57c9ce8b742228e4caa3 Elasticsearch (APB)
b43a4272a6efcaaa3e0b9616324f1099 Hello World Database (APB)
ba9c2d4db404ce97111bea80225de968 RocketChat (APB)
c65fbd4e701cb71d74fd2cc35e14432b Amazon RDS - PostgreSQL (APB)
ca91b61da8476984f18fc13883ae2fdb Etherpad (APB)
ddd528762894b277001df310a126d5ad MySQL (APB)
eebf92c7670f30007a4b8db3a8166d5c The Lounge (APB)
f4509733ca0636df3d69b6af53260160 Jenkins (APB)
f6c4486b7fb0cdac4b58e193607f7011 Mediawiki (APB)
f755257efed3e3d43c8b82afd0db1181 Prometheus (APB)
当我尝试运行apb list时,会发生以下错误: apb列表 联系ansible-service-broker:https://asb-1338-ansible-service-broker.127.0.0.1.nip.io/openshift-automation-service-broker/v2/catalog 错误:经纪人请求失败(获取)https://asb-1338-ansible-service-broker.127.0.0.1.nip.io/openshift-automation-service-broker/v2/catalog 发生了异常!分配前引用的局部变量“InsecureRequestWarning”
ocami 系统:管理员oc login -u system:admin 使用现有凭据登录“https://127.0.0.1:8443”作为“system:admin”。
您可以访问以下项目,并可以使用“oc项目”进行切换:
ansible服务经纪人 定制经纪人 默认 KUBE-公共 KUBE-服务目录 KUBE-系统 我的项目 openshift openshift,红外 openshift节点 openshift模板服务的经纪商 openshift-Web的控制台 apb列表 联系ansible-service-broker:https://asb-1338-ansible-service-broker.127.0.0.1.nip.io/openshift-automation-service-broker/v2/catalog 错误:经纪人请求失败(获取)https://asb-1338-ansible-service-broker.127.0.0.1.nip.io/openshift-automation-service-broker/v2/catalog 发生了异常!分配前引用的局部变量“InsecureRequestWarning”