Before you can use the Tanzu CLI or installer interface to deploy a management cluster, you must make sure that your infrastructure provider is correctly set up.
For production deployments, VMware recommends enabling external identity management on each management cluster, to control access to it and its workload clusters. To do this, you integrate the management cluster with an external identity provider as described in Prepare External Identity Management.
To prepare to deploy a FIPS-capable Tanzu Kubernetes Grid v1.4.0 management cluster on vSphere, with a Bill of Materials (BoM) that only lists components that are compiled with and use FIPS-compliant cryptography modules:
Import a FIPS-enabled Kubernetes v1.21.2 OVA into vSphere, as described in Import a Base Image Template into vSphere.
On your bootstrap machine, set the following environment variable:
If you have a
~/.config/tanzu/tkg directory from installing the Tanzu CLI previously, remove or rename its
mv bom bom.old mv compatibility compatibility.old
tls-cipher-suites flags to FIPS-compliant ciphers for
kubelet, by using a
ytt overlay as described in
Now, when you deploy a management cluster with the
TKG_CUSTOM_COMPATIBILITY_IMAGE_PATH setting above, the CLI downloads and deploys FIPS-compliant core components that use cryptographic primitives provided by a FIPS-compliant library based on the BoringCrypto / Boring SSL module. These core components include components of Kubernetes, Containerd and CRI, CNI plugins, CoreDNS, and etcd.
The CLI confirms these FIPS-compliant BoM downloads with output that resembles:
Downloading TKG compatibility file from 'projects.registry.vmware.com/tkg/fips/tkg-compatibility' Downloading the TKG Bill of Materials (BOM) file from 'projects.registry.vmware.com/tkg/tkg-bom:v1.4.0-fips.1' Downloading the TKr Bill of Materials (BOM) file from 'projects.registry.vmware.com/tkg/tkr-bom:v1.21.8_vmware.1-fips.1-tkg.1'
If you need to deploy Tanzu Kubernetes Grid in an environment with no external Internet access, see Prepare an Internet-Restricted Environment.
To deploy Tanzu Kubernetes Grid to VMware Cloud on AWS or to Azure VMware Solution, see Prepare a vSphere Management as a Service Infrastructure.