I would like to share network between two projects
for example i would like that service1 in kafka have access to service2 in datasources
i read a doc about it:
https://docs.openshift.org/3.6/admin_guide/managing_networking.html#making-project-networks-global
and i tried to do this:
oadm pod-network make-projects-global kafka
error: Using plugin: "redhat/openshift-ovs-subnet", managing pod network is only supported for openshift multitenant network plugin
See 'oadm pod-network make-projects-global -h' for help and examples.
[root@is-oshift-master-01 cluster]# oadm pod-network join-projects --to="kafka" "datasources"
error: Using plugin: "redhat/openshift-ovs-subnet", managing pod network is only supported for openshift multitenant network plugin
See 'oadm pod-network join-projects -h' for help and examples.
[root@is-oshift-master-01 cluster]#
md5-f00c8ea84dddb17bd189959aad2d3e7e
[user@is-oshift-master-01 cluster]# oc describe project kafka
Name: kafka
Created: About an hour ago
Labels: <none>
Annotations: openshift.io/description=
openshift.io/display-name=kafka
openshift.io/requester=slava
openshift.io/sa.scc.mcs=s0:c11,c5
openshift.io/sa.scc.supplemental-groups=1000120000/10000
openshift.io/sa.scc.uid-range=1000120000/10000
Display Name: kafka
Description: <none>
Status: Active
Node Selector: <none>
Quota: <none>
Resource limits: <none>
[root@is-oshift-master-01 cluster]# oc describe project datasources
Name: datasources
Created: 2 weeks ago
Labels: <none>
Annotations: openshift.io/description=
openshift.io/display-name=DataSources
openshift.io/requester=piar
openshift.io/sa.scc.mcs=s0:c8,c7
openshift.io/sa.scc.supplemental-groups=1000070000/10000
openshift.io/sa.scc.uid-range=1000070000/10000
Display Name: DataSources
Description: <none>
Status: Active
Node Selector: <none>
Quota: <none>
Resource limits: <none>
[user@is-oshift-master-01 cluster]#
md5-a32da79f0b3d136fa6ece114eb8cc38a
oc version
oc v3.6.1+008f2d5
kubernetes v1.6.1+5115d708d7
features: Basic-Auth GSSAPI Kerberos SPNEGO
openshift v3.6.1+008f2d5
kubernetes v1.6.1+5115d708d7
resolved: use wrong plugin
Sorry for commenting on a closed issue, but I'm facing the same problem. Which is the right plugin to use @slmzig?
You should use the redhat/openshift-ovs-multitenant plugin on the parameter networkpluginname.
Most helpful comment
Sorry for commenting on a closed issue, but I'm facing the same problem. Which is the right plugin to use @slmzig?