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 / Home Lab / Single node Supervisor Control Plane VM for vSphere with Tanzu now possible in vSphere 7.0 Update 3

Single node Supervisor Control Plane VM for vSphere with Tanzu now possible in vSphere 7.0 Update 3

09.28.2021 by William Lam // 8 Comments

Last year, when vSphere with Kubernetes (original name of what is now vSphere with Tanzu) was first released, I had shared a process on how to deploy a minimal setup including a detailed write-up for setting up vSphere with Tanzu on an Intel NUC with just 32GB of memory.

I am always looking for ways to simplify and ease the consumption of various VMware technologies within a homelab and I was pretty happy with the tweaks that I could make to reduce the amount of resources needed to run vSphere with Tanzu. Instead of needing to deploy three Supervisor Control Plane VMs, the modification to the vSphere with Tanzu configuration, allowed me to deploy just two Supervisor Control Plane VMs. It was unfortunate that deploying only a single Supervisor Control Plane VM at the time was not possible due to a known issue.

While deploying a pre-release of vSphere 7.0 Update 3 in one of my lab environments, I was going through the process of tweaking the vSphere with Tanzu configuration before enablement and I figure why not try the one node setting, in case it was fixed 🤷 I honestly was not expecting it to work since there was an internal bug that was filed awhile back and I had not seen the bug closed. To my complete surprise, vSphere with Tanzu enabled successfully and there was just a single Supervisor Control Plane VM!


It turns out that someone from Engineering must have fixed the issue and a single Supervisor Control Plane VM is now possible with the upcoming release of vSphere 7.0 Update 3! 🥳

To change the settings, you will need to SSH to the VCSA and edit the following configuration file /etc/vmware/wcp/wcpsvc.yaml and search for minmasters and maxmasters and change the value from 3 to 1.

minmasters: 1
maxmasters: 1

For the changes to go into effect, you will need to restart the vSphere with Tanzu service which is listed as wcp by running the following command:

service-control --restart wcp

In addition, for homelab purposes, you may also want to change the controlplane_vm_disk_provisioning parameter, which defaults the Supervisor Control Plane VM to Thick provisioned rather than Thin, which many folks use in their labs.

controlplane_vm_disk_provisioning: "thin"

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 // Home Lab, VMware Tanzu, vSphere 7.0 Tags // vSphere with Tanzu

Comments

  1. M. Buijs - Be-Virtual.net says

    10/07/2021 at 10:30 am

    William thanks, this is great for Home Lab usage!

    In my case the following setting was between quotes:
    Your blog entry: controlplane_vm_disk_provisioning = thin
    Config file at my VCSA: controlplane_vm_disk_provisioning = "thin"

    Reply
    • William Lam says

      10/07/2021 at 11:48 am

      Fixed

      Reply
      • M. Buijs - Be-Virtual.net says

        10/08/2021 at 11:05 am

        Thanks William!

        Small update tested the line as follows:

        VCSA: controlplane_vm_disk_provisioning = thin

        &

        VCSA: controlplane_vm_disk_provisioning = "thin"

        In both cases, the Supervisor Control Plane VM was provisioned thick. I am afraid no difference. Maybe a small bug? I am running vCenter Server 7.0 Update 3.

        Anybody else tested this already? 🙂

        Reply
        • cy says

          10/26/2021 at 11:47 pm

          I successfully deployed using thin provisioning using the "thin" in the yaml

          Reply
          • M. Buijs - Be-Virtual.net says

            10/27/2021 at 10:44 am

            Just checked it again with vCenter Server 7.0 Update 3a and I also can confirm it is working now!

  2. cy says

    10/26/2021 at 11:50 pm

    I successfully enable workload management by using 1 control plane supervisor VM but the tkg-plugin-server pod and the vmware-system-applatform-operator-mgr Stateful Sets will always failed to deploy

    Reply
  3. aretoojay says

    11/10/2021 at 10:29 pm

    Few pods won't come up due to Pod's node affinity/selector or pod affinity/anti-affinity rules. Atlease one pod from the deployment willbe up and running.

    Reply
  4. Toan says

    06/08/2022 at 3:02 am

    Hi, My workload init repeated install and uninstall the last Supervisor Control Plane VM, could you know how to fix it?

    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...