WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple
You are here: Home / VMware Tanzu / Quick Tip - Resizing vSphere with Tanzu Supervisor Control Plane VMs

Quick Tip - Resizing vSphere with Tanzu Supervisor Control Plane VMs

08.10.2021 by William Lam // 1 Comment

During the enablement of vSphere with Tanzu, users can specify the size (Tiny, Small, Medium and Large) which will then dictate the amount of CPU and Memory that is allocated for the Supervisor Control Plane VMs.


After vSphere with Tanzu has been successfully enabled, you will find that only a subset of the settings can be re-configured but the Size is not one of those settings.


There was a question recently asking if you could resize the resources for the Supervisor Control Plane VMs? Although the vSphere UI does not allow you to modify the Control Plane Size value, the vSphere with Tanzu REST API can be used to perform this operation.

In the example above, my vSphere with Tanzu environment is configured using the size Tiny and I wish to change it to the size Small

Using PowerCLI, we can take advantage of the new Set-WMCluster cmdlet to update the -SizeHint property to our desired size.

Set-WMCluster -SizeHint small

This operation will take a couple of minutes and you should now the Supervisor Control Plane VMs getting reconfigured as CPU and Memory is hot-added. If you have the available physical resources, these operation should successfully complete and the PowerCLI cmdlet should return with success as shown in the screenshot below.


If we now navigate to our vSphere with Tanzu cluster under Configure->Namespaces->General, we should see that the Supervisor Control Plane Size has been updated with our desired configuration, which should also be reflected in the CPU/Memory of each of the VMs.


Note: It is important to note that although you can resize the CPU/Memory resources of the Supervisor Control Plane VMs, there are other settings such as the Service CIDR which can not be resized. Depending on your requirements, you may also need a larger Service CIDR for your workloads and that would require disabling vSphere with Tanzu and re-enabling with the desired values. For this reason, you may consider allocating a larger Service CIDR for future growth and when additional compute resources is required, you can simply perform the resize operation.

We also can confirm and retrieve the Supervisor Control Plane VM Size by using Get-WMCluster cmdlet, using the following snippet:

$tanzuCluster = Get-WMCluster Workload-Cluster
$tanzuCluster.ExtensionData.Data.GetSizeHint()

More from my site

  • vSphere with Tanzu using Intel Arc GPU
  • Automated enablement of vSphere with Tanzu using vSphere Zones in vSphere 8
  • Demo of VMware Cloud Consumption Interface (CCI)
  • Beta for VMware Cloud Consumption Interface (CCI) formally Project Cascade
  • Quick Tip - Correctly naming TKR's in Local Content Library for vSphere with Tanzu in vSphere 8

Categories // VMware Tanzu Tags // vSphere with Tanzu

Comments

  1. Rajmohan says

    11/10/2021 at 9:21 pm

    Thanks for this post. We now have the option to resize the control plane VM in vCenter Version: 7.0.3 Build: 18778458

    Reply

Thanks for the comment! Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native technologies, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC)

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • How to bootstrap ESXi compute only node and connect to vSAN HCI Mesh? 01/31/2023
  • Quick Tip - Easily move or copy VMs between two Free ESXi hosts? 01/30/2023
  • vSphere with Tanzu using Intel Arc GPU 01/26/2023
  • Quick Tip - Automating allowed and not allowed Datastores for use with vSphere Cluster Services (vCLS) 01/25/2023
  • ESXi with Intel Arc 750 / 770 GPU 01/24/2023

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2023

 

Loading Comments...