Creating a public service with the Tanzu Service Mesh CLI requires providing the ID of external DNS account among other configuration details.

You can get an external DNS account ID by retrieving a list of the IDs of all DNS accounts from Tanzu Service Mesh and then selecting the ID that you want.

Prerequisites

Procedure

  1. Retrieve a list of the IDs of all external DNS accounts from Tanzu Service Mesh:
    tanzu sm get externaldnss
  2. Copy the DNS account ID that you want from the list in the output.
    Tip:

    To verify that this is the ID of the DNS account that you want to use, run this command:

    tanzu sm get externaldnss {DNS-account-ID}

    The output contains the details of the external DNS account. The name of the account and the other details should help you determine if this is the right DNS account.