如何使用OC CLI命令将远程服务器连接到OPH SHIFT群集中的MongoDB Pod
我有一个在开放位移群集中运行的mongoDB吊舱。
我想使用OC CLI命令从远程服务器计算机连接到该MongoDB。 我该怎么做,
我在网上搜索并找到了端口转发的概念,但这允许本地应用程序连接到Open Shift Mongo DB。 在博客
中 找到了这个问题远程服务器计算机到使用OC CLI命令在OpenShift群集中存在的MongoDB Pod。
任何想法如何实现这一目标。
I have a mongodb pod running in open shift cluster.
I want to connect to that mongodb from a remote server machine using oc cli command.
How can I do that
I searched over the net and found concept of port forwarding but that allows local app to connect to open shift mongo db.
Found this in blog
I could not find how one can connect a remote server machine to mongodb pod which is present in openshift cluster using oc cli commands.
Any idea how to achieve this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论