Disable-WMCluster
This cmdlet deactivates the workload management feature on the cluster. This operation tears down the Kubernetes instance and the worker nodes associated with the cluster.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
WMCluster | WMCluster | named |
|
Specifies the cluster whose workload management functionality you want to deactivate. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | RunAsync | SwitchParameter | named |
|
Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console. |
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. |
Output
Examples
Example 1
Disable-WMCluster -WMCluster WorkloadManagementCluster
Deactivates the workload management on a cluster named "WorkloadManagementCluster".
Related Commands
WMCluster
This cmdlet deactivates the workload management feature on the specified cluster.
Enables the workload management feature on the specified cluster.
This cmdlet retrieves the configuration for the workload management feature of the clusters in the vCenter Server system.
This cmdlet modifies the workload settings of a Tanzu Kubernetes Grid cluster.