Install Tanzu Mission Control Self-Managed on TKGm

This is the sixth blog post of the TMC Self-Managed blog series. In the previous post of this series, I showed how to configure the final prerequisite (Harbour registry) of the installation. If you are following along with me, you are now ready for the installation. 

If you have landed on this post directly by mistake, I encourage you to read the previous blog posts of this series using the below links:

1: TMC Self-Managed – Introduction & Architecture

2: Configure DNS for TMC Self-Managed

3: Configure OIDC Complaint Identity Provider (Okta)

4: Install Cluster Issuer for TLS Certificates

5: Prepare Harbor Registry

This blog post is focused on installing TMC Self-Managed on Tanzu Kubernetes Grid multi-cloud (TKGm). I will cover the installation procedure for TKGS (vSphere with Tanzu) in a separate post.

I have used the following BOM in my lab

Software Components Version
Tanzu Kubernetes Grid 2.1.0
VMware vSphere ESXi 7.0 U3n
VMware vCenter (VCSA) 7.0 U3n
VMware vSAN 7.0 U3n
NSX Advanced LB 22.1.3

Step 1: Connect to the workload cluster where TMC Self-managed will be installed.

Step 2: Create the tmc-local namespace. All the artifacts for the Tanzu Mission Control Self-Managed service will be installed in this namespace.

Step 3: Add the Tanzu package repository to your cluster in the tmc-local namespace.

Step 4: Verify that the package repository is successfully reconciled by the kapp-controller.

Step 5: Create the TMC Self-Managed configuration file

Tanzu Mission Control Self-Managed installation requires a configuration file named values.yaml which contains the key-values pair for your configuration. The complete list of key-value pairs is described in the TMC Self-Managed documentation.

Alternatively, you can run the command tanzu package available get “{{repositoryImage}}:{{version}}” –namespace tmc-local –values-schema to view the values schema.

Create a values.yaml file based on the key-value pair defined in the schema. A sample values.yaml file is provided below for reference. This file uses a preferred load balancer IP with Avi Kubernetes Operator and Okta as the OIDC IDP.

Important: The name of the custerIssuer should match the name that you specified in the local-issuer.yaml file that you created in the article Install Cluster Issuer for TLS certificates

Step 6: Deploy the TMC Self-Managed Stack

Use the following command to initiate the installation:

The installation process roughly takes 15-20 minutes to complete. After the installation process is completed, do the following: 

  1. open a browser and go to the URL of your Tanzu Mission Control Self-Managed deployment. The URL contains the DNS zone that you defined when you prepared the cluster for deployment. For example, https://tmc.<dns-zone>
  2. The start page of the Tanzu Mission Control console prompts you to sign in.
  3. When you click Sign In, you are redirected to your upstream IDP to log in. 
  4. Log in with your IDP credentials.

And that’s it for this post. In the next post, I will demonstrate installing TMC Self-Managed in a vSphere with Tanzu environment running on vSphere 7.

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing.

Leave a Reply