mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
33 lines
812 B
Plaintext
33 lines
812 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * virt/vm_networking/virt-using-mac-address-pool-for-vms.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="virt-managing-kubemacpool-cli_{context}"]
|
|
= Managing KubeMacPool by using the CLI
|
|
|
|
[role="_abstract"]
|
|
You can disable and re-enable KubeMacPool by using the command line.
|
|
|
|
KubeMacPool is enabled by default.
|
|
|
|
.Prerequisites
|
|
|
|
* You have installed the {oc-first}.
|
|
|
|
.Procedure
|
|
|
|
* To disable KubeMacPool in two namespaces, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc label namespace <namespace1> <namespace2> mutatevirtualmachines.kubemacpool.io=ignore
|
|
----
|
|
|
|
* To re-enable KubeMacPool in two namespaces, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc label namespace <namespace1> <namespace2> mutatevirtualmachines.kubemacpool.io-
|
|
----
|