Skip to content

Latest commit

 

History

History
104 lines (73 loc) · 6.54 KB

prerequisites.md

File metadata and controls

104 lines (73 loc) · 6.54 KB

Prerequisites

The following are required to install Tanzu Application Platform:

Tanzu Network and container image registry requirements

Installation requires:

  • Access to Tanzu Net:

  • Cluster-specific registry:

    • A container image registry, such as Harbor or Docker Hub 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.

      • If installing using the lite descriptor for Tanzu Build Service, 1 GB of available storage is recommended.
      • If installing using the full descriptor for Tanzu Build Service, which is intended for production use and offline environments, 10 GB of available storage is recommended.
  • 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.

DNS Records

There are some optional but recommended DNS records you should allocate if you decide to use these particular components:

  • Cloud Native Runtimes (knative) - Allocate a wildcard subdomain for your developer's applications. This is specified in the cnrs.domain_name key of the tap-values.yml configuration file that you input with the installation. This wildcard should be pointed at the external IP address of the tanzu-system-ingress's envoy service. See Ingress Method for more information about tanzu-system-ingress.
  • Tanzu Learning Center - Similar to Cloud Native Runtimes, allocate a wildcard subdomain for your workshops and content. This is specified in the learningcenter.ingressDomain key of the tap-values.yml configuration file that you input with the installation. This wildcard should be pointed at the external IP address of the tanzu-system-ingress's envoy service.
  • Tanzu Application Platform GUI - Should you decide to implement the shared ingress and include the Tanzu Application Platform GUI, allocate a fully Qualified Domain Name (FQDN) that can be pointed at the tanzu-system-ingress service. The default hostname consists of tap-gui plus an IngressDomain of your choice. For example, tap-gui.example.com.

Tanzu Application Platform GUI

  • Latest version of Chrome, Firefox, or Edge. Tanzu Application Platform GUI currently does not support Safari browser.
  • Git repository for the Tanzu Application Platform GUI's software catalogs, along with a token allowing read access. For more information about how you will use your Git repository, see the Using accelerator.yaml section in Getting started with the Tanzu Application Platform. Supported Git infrastructure includes:
    • GitHub
    • GitLab
    • Azure DevOps
  • Tanzu Application Platform GUI Blank Catalog from the Tanzu Application section of Tanzu Network
    • To install, navigate to Tanzu Network. Under the list of available files to download, there is a folder titled tap-gui-catalogs-latest. Inside that folder is a compressed archive titled Tanzu Application Platform GUI Blank Catalog. You must extract that catalog to the preceding Git repository of choice. This serves as the configuration location for your Organization's Catalog inside Tanzu Application Platform GUI.
  • The Tanzu Application Platform GUI catalog allows for two approaches towards storing catalog information:
    • The default option uses an in-memory database and is suitable for test and development scenarios. This reads the catalog data from Git URLs that you specify in the tap-values.yml file. This data is temporary, and any operations that cause the server pod in the tap-gui namespace to be re-created also cause this data to be rebuilt from the Git location. This can cause issues when you manually register entities through the UI because they only exist in the database and are lost when that in-memory database gets rebuilt.
    • For production use-cases, use a PostgreSQL database that exists outside the Tanzu Application Platform packaging. The PostgreSQL database stores all the catalog data persistently both from the Git locations and the UI manual entity registrations. For more information, see Configuring the Tanzu Application Platform GUI database

Kubernetes cluster requirements

Installation requires:

  • Kubernetes cluster versions 1.20, 1.21, or 1.22 on one of the following Kubernetes providers:

    • Azure Kubernetes Service
    • Amazon Elastic Kubernetes Service
    • Google Kubernetes Engine
      • GKE Autopilot clusters do not have required features enabled
    • Minikube
      • Reference the resource requirements below
      • Hyperkit driver is supported on macOS only; Docker driver is not supported.

Resource requirements

  • To deploy all Tanzu Application Platform packages, your cluster must have at least:

    • 8 CPUs for i9 (or equivalent) available to Tanzu Application Platform components
    • 12 CPUs for i7 (or equivalent) available to Tanzu Application Platform components
    • 8 GB of RAM across all nodes available to Tanzu Application Platform
    • 12 GB of RAM is available to build and deploy applications, including Minikube. VMware recommends 16 GB of RAM for an optimal experience.
    • 70 GB of disk space available per node
  • For the full profile, or use of Security Chain Security Tools - Store, your cluster must have a configured default StorageClass.

  • Pod Security Policies must be configured so that Tanzu Application Platform controller pods can run as root.

Tools and CLI requirements

Installation requires:

  • The Kubernetes CLI, kubectl, v1.20, v1.21 or v1.22, installed and authenticated with administrator rights for your target cluster. See Install Tools in the Kubernetes documentation.