You can add, view and remove compute profiles using the Tanzu Kubernetes Grid Integrated Edition Management Console on vSphere.

About Compute Profiles

A compute profile enables cluster administrators, pks.clusters.admin, to override the default settings defined by a plan.

Using a compute profile, cluster administrators can customize the following:

  • Compute resources such as CPU, memory, ephemeral disk, and persistent disk for Kubernetes control plane and worker nodes
  • vSphere resources for Kubernetes control plane and worker nodes

Note: A compute profile overrides only those CPU, memory, disk, and AZ settings that you define in the profile. If you do not define a setting in the profile, its configuration is inherited from the plan.

After you create a compute profile, cluster managers, pks.clusters.manage, can apply it to one or more Kubernetes clusters.

Note: If you use vSphere without NSX-T networking, creating Windows clusters with compute profiles is not supported.

For more information, see Compute Profiles vs. Plans.

Create Cluster with Compute Profile

Use the Tanzu Kubernetes Grid Integrated Edition Management Console to create a cluster with an existing compute profile.

  1. Select TKG Integrated Edition > Clusters, and select Create Cluster.
  2. Use the Compute Profile drop-down menu to select the compute profile to use.
  3. Click Show More to view the profile.

    Create cluster with compute profile View a larger version of this image

  4. Click Modify Worker Nodes to increase or reduce the number of worker nodes.

    Modify worker nodes View a larger version of this image

Define Compute Profile

Use the Tanzu Kubernetes Grid Integrated Edition Management Console to define a compute profile.

NOTE: You must be at the console home page to view the Compute Profiles tab.

  1. Select Profiles and select the Compute tab.
  2. Click Create Profile.
  3. Enter a Name for the profile.
  4. Enter a suitable Description for the profile.
  5. Click Add Availability Zones to create a new availability zone for the compute profile.

    1. Enter a name for the availability zone.
    2. Enter the name of an existing datacenter, cluster, resource pool, and host group.
    3. Click Add Cluster to add more clusters to the availability zone.
    4. Click Add Datacenter to add more datacenters to the availability zone.
    5. Click Add Availability Zones to create more availability zones.
    6. Click Save Availability Zones.

    Define compute profile availability zones View a larger version of this image

  6. For Control plane AZs, select the availability zone to use for the cluster control plane.

  7. Configure the new profile as needed, to override the values set in plans for the resources that are allocated to control plane nodes.

    1. Number of Control Plane Nodes
    2. Control plane CPU
    3. Control plane memory
    4. Control plane ephemeral disk size
    5. Control plane persistent disk size

    Define control plane resource usage View a larger version of this image

  8. Select Node Pool Groups to optionally override the values set in plans for the resources that are allocated to worker nodes, and to optionally add labels and taints to the nodes.

    Define compute profile node group settings View a larger version of this image

  9. Click Save Profile.

Delete Compute Profile

Use the Tanzu Kubernetes Grid Integrated Edition Management Console to delete compute profile.

NOTE: You cannot delete a compute profile that is in use by a cluster.

  1. Select Profiles and select the Compute tab.
  2. Select the compute profile to remove.
  3. Click Delete.
  4. Confirm deletion.

    Delete compute profile View a larger version of this image

check-circle-line exclamation-circle-line close-line
Scroll to top icon