我们正在使用CLIPPER创建POC。部署在本地环境中可以很好地与Docker配合使用,但是我们需要将kubernetes用于POC。我们尝试通过两种方式部署它:
在以上两种情况下:
mgmt-frontend
,redis
和query-frontend
镜像都已成功部署在集群上:尝试启动Clipper时出现错误:
Error connecting to Kubernetes cluster. No external node addresses found
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-3-4de1563b3f9a> in <module>()
9 clipper_conn = ClipperConnection(KubernetesContainerManager('35.188.55.76'))
10
---> 11 clipper_conn.start_clipper()
/usr/local/lib/python2.7/dist-packages/clipper_admin/clipper_admin.pyc in start_clipper(self, query_frontend_image, mgmt_frontend_image, cache_size)
112 self.connected = True
113 except ClipperException as e:
--> 114 logger.warning("Error starting Clipper: {}".format(e.msg))
115 raise e
116
AttributeError: 'ClipperException' object has no attribute 'msg'
我们尝试了其他选项,但没有帮助。有人可以帮我们吗?
最佳答案
将cli更新到最新版本后,我确实刷新了gcloud信誉