You can edit the configuration details of a public service. For example, you can change the name of the public service or the port on which it is accessible. You can also add or remove public URLs, that is, the URLs at which the public service is exposed to external clients.
You can edit the configuration details of a public service from the public service details page.
You can also edit the configuration of a public service by editing the global namespace that contains the public service.
On the GNS Overview tab of the Home page, in the card for the global namespace, click its name.
In the upper-right corner of the global namespace details page, click Edit Configuration.
In the Edit Global Namespace window, on the Public Services and GSLB & Resiliency pages, make the changes that you want.
- Open the public service details page.
- On the Home page, on the GNS Overview tab, in the card for the global namespace that contains the public service, click the name of the global namespace.
- On the global namespace details page, click the Public Services tab.
- In the Public Service column, click the name of the public service whose configuration you want to edit.
- In the upper-right corner of the public service details page, click Edit Configuration.
The Public Service Configuration window displays the name of the public service, the port on which it is accessible, and a separate configuration section for each public URL.
- Edit the details that you want.
For a description of the global load balancing and health-check settings that you can edit in the configuration section for each public URL, see Configure Global Load Balancing for Your Application in Tanzu Service Mesh.
- (Optional) To remove a public URL of the public service, in the upper-right corner of the configuration section for that URL, click Remove.
- (Optional) To add a public URL for the public service, perform these steps.
- At the bottom of the window, click Add Public URL.
- In the new configuration section, select the protocol, type the subdomain, and select the domain for the new URL. If you selected
https, type or select the name of the the Transport Layer Security (TLS) certificate to use to secure traffic to and from the service.
- Select a global load balancing scheme and provide the related settings for the selected scheme.
- Under Health Checks & Failover, configure health checks.
- Click Save.
The public service details page reflects the changes.