This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.このコンテンツは選択した言語では利用できません。
Chapter 18. Managing Pod Networks
18.1. Overview リンクのコピーリンクがクリップボードにコピーされました!
When your cluster is configured to use the ovs-multitenant SDN plug-in, you can manage the separate pod overlay networks for projects using the administrator CLI. See the Configuring the SDN section for plug-in configuration steps, if necessary.
18.2. Joining Project Networks リンクのコピーリンクがクリップボードにコピーされました!
To join projects to an existing project network:
oadm pod-network join-projects --to=<project1> <project2> <project3>
$ oadm pod-network join-projects --to=<project1> <project2> <project3>
In the above example, all the pods and services in <project2>
and <project3>
can now access any pods and services in <project1>
and vice versa.
Alternatively, instead of specifying specific project names, you can use the --selector=<project_selector>
option.
18.3. Making Project Networks Global リンクのコピーリンクがクリップボードにコピーされました!
To allow projects to access all pods and services in the cluster and vice versa:
oadm pod-network make-projects-global <project1> <project2>
$ oadm pod-network make-projects-global <project1> <project2>
In the above example, all the pods and services in <project1>
and <project2>
can now access any pods and services in the cluster and vice versa.
Alternatively, instead of specifying specific project names, you can use the --selector=<project_selector>
option.