Use the Catalog page of the Tanzu Mission Control console to install a package from your repository to your Kubernetes cluster.
The Available tab on the Catalog page in the Tanzu Mission Control console shows the packages that are available to be installed, including those that are in the Tanzu Standard package repository and other repositories that you have associated with a cluster.
For more information about associating additional repositories, see
Add a Package Repository to Your Cluster.
Note: The catalog in
Tanzu Mission Control restricts the installation of packages from the
Tanzu Standard package repository to only workload clusters running in
Tanzu Kubernetes Grid. You cannot use the catalog to install packages from the
Tanzu Standard package repository to non-TKG clusters.
Note: Istio packages require that you add the Istio package repository to your cluster, and must be installed in the following order:
- base
- Istiod
- gateway
Prerequisites
This procedure assumes that you already have a Kubernetes cluster that is managed (either attached or provisioned) by Tanzu Mission Control.
Before you can deploy packages to your clusters from the Tanzu Standard package repository, you must first make sure that those images are available in the private local image registry that you used to install Tanzu Mission Control Self-Managed. For more information, see Copying Tanzu Standard and Inspection Images in Installing and Running VMware Tanzu Mission Control Self-Managed.
Before you start this procedure, log in to the
Tanzu Mission Control console and make sure you have the appropriate permissions.
- To install an available package on a cluster, you must be associated with the .admin role on that cluster.
Note: For clusters running Kubernetes version 1.25 and later with pod security admission (PSA) enabled, you must add the labels listed below in the target namespaces where your installed package deploys pods.
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/audit-version: latest
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/enforce-version: latest
pod-security.kubernetes.io/warn: privileged
pod-security.kubernetes.io/warn-version: latest
For more information about pod security admission, see
Pod Security Admission in the
Kubernetes documentation.
Procedure
- In the left navigation pane of the Tanzu Mission Control console, click Catalog.
- On the Catalog page, click the Tanzu packages tab.
- Click Available Tanzu Packages, and then select the cluster in which you want to install a package.
After you select the cluster, you see the packages that are available to install on that cluster.
- Click the package you want to install.
The package detail page shows the metadata provided by the package author.
- On the package detail page, click Install Package.
- On the Install page, provide a name for the installed instance of the package and select the version to install,
- You can optionally click Carvel Settings to specify the resources namespace for Carvel and see other configuration settings.
- Carvel Resources Namespace
This namespace holds the resources required to automate the installation of this package. Users with access to this namespace can access the service account which has sensitive privileges granted by the generated ClusterRole. You can let Tanzu Mission Control generate the name of the namespace, or optionally provide your own.
- Service Account
Tanzu Mission Control generates a unique service account to automate the installation of the package.
- Role
Tanzu Mission Control generates a unique ClusterRole with admin privileges to automate the installation of the package.
- Role binding scope
Tanzu Mission Control generates a unique role binding that limits the scope of the generated ClusterRole.
The resources that are generated for this package install are unique to this package install, and are removed when the package install is deleted.
- You can optionally configure values for the keys that the package has defined as configurable.
- To edit a configurable value in the table view, click the edit icon in the last column of the table for the configurable key.
- Enter the new value in the box.
- Click Save.
- Click Install Package.