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.7.17.8.2. 在 CLI 中为命名空间启用 MAC 地址池
通过将 mutatevirtualmachines.kubemacpool.io=allocate
标签应用到命名空间,为命名空间中的虚拟机启用 MAC 地址池。
流程
将 KubeMacPool 标签添加到命名空间。以下示例将 KubeMacPool 标签添加到两个命名空间中,即
<namespace1>
和<namespace2>
:oc label namespace <namespace1> <namespace2> mutatevirtualmachines.kubemacpool.io=allocate
$ oc label namespace <namespace1> <namespace2> mutatevirtualmachines.kubemacpool.io=allocate
Copy to Clipboard Copied! Toggle word wrap Toggle overflow