Tanzu Application Platform is a packaged set of components that helps developers and operators to more easily build, deploy, and manage apps on a Kubernetes platform.
- A Tanzu Network account to download Tanzu Application Platform packages.
- A container image registry, such as Harbor or Docker Hub with at least 10 GB of available storage for application images, base images, and runtime dependencies. When available, VMware recommends using a paid registry account to avoid potential rate-limiting associated with some free registry offerings.
- Registry credentials with push and write access made available to Tanzu Application Platform to store images.
- Network access to https://registry.tanzu.vmware.com
- Network access to your chosen container image registry.
There are some optional prerequisites as well, refer to official doc for more details.
Create GKE Cluster
- Steps to create GKE cluster is documented here (includes kubectl, gcloud CLI), but to install TAP you need instances with min 8 GB of RAM across all nodes available to Tanzu Application Platform. So ensure to deploy GKE cluster with below min config:
Note: Since this is for demo, I have selected Regional for Location type and 2 nodes. But, if you are deploying into production env, ensure to add more nodes to cluster with appropriate size.
- Cluster basics:
- Node pool
- Name: Give a name
- Node Size
- Node pool
- Once the cluster is created and status turns green, click on the cluster > connect > command-line access
Install Tanzu CLI, plugins
Install Tanzu CLI
Sign to Tanzu Network and accept below EULAs:
- Cluster Essentials for VMware Tanzu
- Tanzu Application Platform
- Tanzu Build Service and its associated components:
Sign in to Tanzu Network , Download
tanzu-cluster-essentials-darwin-amd64-1.0.0.tgz (for OS X) or
tanzu-cluster-essentials-linux-amd64-1.0.0.tgz (for Linux) into local machine and copy to destination jumpbox using scp or download directly using pivnet cli.
Sign in to Tanzu Network , click on folder tanzu-cli-v0.10.0 and download tanzu-framework-bundle-linux (for Linux) into local machine and copy to destination jumpbox using scp or download directly using pivnet cli.
- Refer to Docker page to get the detailed steps of Installing Docker.
Image Repo (GCR) – Optional
Note: If you have Docker hub pro account, please use it as it do not have any pull limits. Otherwise, use gcr.io which I will cover in this demo or harbor.
- Login to Google cloud console > IAM & Admin > Service Accounts > Create Service Account
- Give a name and click on Create and Continue
- Add below given roles and Done
- Click on newly created service account > Keys > Create new key
- Select Key type as JSON and Create – this downloads a json file, keep it safe and secured.
- Copy the downloaded json key into jumpbox or any machine where you are planning execute Tanzu commands for TAP install.
Now we are all set to proceed with TAP Install on EKS cluster using gcr image repo.