Disable-WMCluster Command | Vmware PowerCLI Reference

Disable-WMCluster

This cmdlet disables the workload management feature on the cluster. This operation tears down the Kubernetes instance and the worker nodes associated with the cluster.

Syntax

Disable-WMCluster
-WMCluster < WMCluster >
[-RunAsync ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
WMCluster WMCluster named
  • pipeline
Specifies the cluster whose workload management functionality you want to disable.
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

PS C:\&#62 Disable-WMCluster -WMCluster WorkloadManagementCluster

Disables the workload management on a cluster named "WorkloadManagementCluster".

Related Commands

WMCluster

This cmdlet disables 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.