[英]How can I reach a service from another namespace in Openshift Online?
I need to reach a RabbitMQ service from another namespace in Openshift Online.我需要从 Openshift Online 中的另一个命名空间访问 RabbitMQ 服务。
When I use the following command:当我使用以下命令时:
oc adm pod-network join-projects --to=<project1> <project2> <project3>
I get this error:我收到此错误:
failed to fetch current network plugin info
Is there a way to reach a service from another namespace in Openshift Online?有没有办法从 Openshift Online 中的另一个命名空间访问服务?
Note: The purpose here is not joining projects.注意:这里的目的不是加入项目。 It is just a way we can choose.
这只是我们可以选择的一种方式。 The purpose is to reach a service from another namespace.
目的是从另一个命名空间访问服务。
Sometimes this error ('failed to fetch current network plugin info') can appear when you are not logged into the oc console.有时,当您未登录 oc 控制台时,可能会出现此错误(“无法获取当前网络插件信息”)。 Try to login in terminal before joining the POD networks, like:
在加入 POD 网络之前尝试登录终端,例如:
oc login https://console.openshift.test --token=xxxxxxxxxxx
or just without token with use of the user with password.或者只是不使用带有密码的用户的令牌。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.