This topic explains how SRE users can create a data plane in Tanzu Data Hub, which is a Kubernetes cluster that hosts database services that are created and managed by Tanzu Data Hub users. It also explains how SRE users disable and delete data planes and perform other meta-level operations.
Data planes have two types:
Dedicated data planes that is dedicated to host the services of a particular organization.
If both shared and dedicated data planes hosting the service are available to the organization, then the user can select either.
Example:
An SRE creates three data planes that host MySQL:
A member of the Engineering organization creates a MySQL instance and selects its Hosting Type as one of:
A member of the HR organization creates a MySQL instance.
To create a Tanzu Data Hub data plane:
Log in to Tanzu Data Hub as an SRE user, navigate to Infrastructure > Data Planes, and click Create New Data Plane at upper right.
Provider:
TKGS
or OPENSHIFT
or TKGM
or TAS
.Cloud Account:
Certificate and DNS: Select a Certificate and DNS configurations:
Cluster Details:
staging
or development
.Review: Review the main configuration fields and values provided on the previous panes. If they look correct, click Create Data Plane.
The newly-created data plane appears in the Data Planes pane.
SRE users can disable a data plane to non-destructively stop onboarding new services to it, and enable it again later. Disabling a data plane does not disable the service instances that it manages.
To enable and disable a data plane:
Navigate to Infrastructure > Data Planes.
Click the menu icon () on the left of the data plane listing. A small pop-up menu appears.
Select Enable or Disable.
SRE users can Edit a data plane to change its name, labels, or auto-upgrade setting:
Navigate to Infrastructure > Data Planes.
Click the menu icon () on the left of the data plane listing. A small pop-up menu appears.
Select Edit, enter the new settings, and click Update.
SRE users can Add services to an existing data plane, if not all services were selected while creating the Data Plane:
Navigate to Infrastructure > Data Planes.
Click the DataPlane name to open the Details page for the DataPlane
In the Overview > Services, click Add Services
Select the Services you to add to the DataPlane additionally.
SRE users can delete a data plane:
Navigate to Infrastructure > Data Planes.
Click the menu icon () on the left of the data plane listing. A small pop-up menu appears.
Select Delete and confirm by entering the data plane name.
Note: Dataplane could only be deleted when no services are running over it. It also considers that no backup should be present over it before we could delete it.
After you add or remove nodes from the cluster where the TDH Data Plane is installed, you should sync the data plane to the resource details in the TDH database.
SRE users can Sync a data plane:
Navigate to Infrastructure > Data Planes.
Click the menu icon () on the left of the data plane listing. A small pop-up menu appears.
Select Sync and confirm by entering the data plane name.
Upgrading a TDH data plane to the latest version ensures that a data plane has all the latest features.
SRE users can upgrade a data plane:
Navigate to Infrastructure > Data Planes.
Click the DataPlane name, to open the Details Page for the given DataPlane
In the Overview > Auto Upgrade, click on Upgrade Now (if new Upgrade is available)