Tanzu

Resizing Tanzu Kubernetes Grid Cluster Nodes ?

  • 1.  Resizing Tanzu Kubernetes Grid Cluster Nodes ?

    Posted Aug 08, 2024 05:22 AM

    Hey All,

    I currently have the following 

    TKGS installed on top of VCenter 7.53UR TKGS version 1.26 

    I'm trying to increase the ephemeral storage to my worker nodes etc. I've tried following this guide Resizing Tanzu Kubernetes Grid Cluster Nodes - The IT Hollow but i don't have a spec class with root storage my one is.

    spec:
      template:
        spec:
          className: best-effort-small
          imageName: ob-22036247-tkgs-ova-photon-3-v1.24.11---vmware.1-fips.1-tkg.1
          storageClass: vsan-default-storage-policy

    When attempting to add 

          rootVolume:
          size: 200

    i get 

    Resource: "infrastructure.cluster.vmware.com/v1beta1, Resource=wcpmachinetemplates", GroupVersionKind: "infrastructure.cluster.vmware.com/v1beta1, Kind=WCPMachineTemplate"
    Name: "proj-deleteme2-workers-2pxnm", Namespace: "proj-deleteme2"
    for: "myfile.yaml": error when patching "myfile.yaml": wcpmachinetemplates.infrastructure.cluster.vmware.com "proj-deleteme2-workers-2pxnm" is forbidden: User "sso:Administrator@vsphere.local" cannot patch resource "wcpmachinetemplates" in API group "infrastructure.cluster.vmware.com" in the namespace "proj-deleteme2"

    I am probably doing this wrong but there isn't really anything to follow any ideas? I'm just doing this in a test cluster atm.