Scenario: Attempting to register a Supervisor cluster in TMC (SaaS Version)
The TMC pods on the Supervisor show in Error state
When you describe the tmc-agent-installer-config AgentInstall object, it eventually shows the following after 10 retries:
Status: Message: registration link domain name verification failed
Tanzu Mission Control SaaS
VCF 5.2.1.1
vCenter 8.0.3
Supervisor K8s version: v1.29.7+vmware.wcp.1
TKG Service version: 3.1.1-embedded
By default, an AgentConfig is not required for registering a Supervisor cluster with TMC SaaS.
However, for Supervisor clusters running in older versions of VCF, an AgentConfig containing the DigiCert Global Root CA used by the TMC SaaS endpoint is required.
This AgentConfig will also include the allowedHostNames regular expression for connecting to remote TMC SaaS console endpoint.
AgentConfig yaml during Supervisor cluster registration.Procedure:
Example: https://ORG_NAME.tmc.tanzu.broadcom.com/
Example, when using Chrome browser
AgentConfig yaml file and insert the DigiCert Global Root CA in the spec.caCerts sectionapiVersion: "installers.tmc.cloud.vmware.com/v1alpha1"
kind: "AgentConfig"
metadata:
name: "tmc-agent-config"
namespace: svc-tmc-cXX
spec:
allowedHostNames: ['^.+\.tanzu\.broadcom\.com$']
caCerts: |
-----BEGIN CERTIFICATE-----
<<Put DigiCert Global CA Root CA certificate contents here>>
-----END CERTIFICATE-----
kubectl apply -f agentconfig.yaml
kubectl -n svc-tmc-cXX get pods -w