Communicate with other workloads ΒΆ

Use service discovery to call another workload in the same environment.

To call a workload in another environment, use its ingress.

Prerequisites ΒΆ

Identify the target address ΒΆ

Find the target application's name and the team it belongs to. Use the team name wherever the examples below show <team-name>.

Call an application in your team ΒΆ

If both applications belong to the same team and run in the same environment, use:

Plaintext

Call an application in another team ΒΆ

If the target application belongs to another team in the same environment, include its team name:

Plaintext

When you move an application to another team, update callers to use its new address and update access policies on both sides.

Use full hostname when using webproxy on-premises

If your workload has webproxy enabled, you must use the full hostname for all service discovery calls:

Plaintext

This keeps calls within the environment from going through the proxy, as the environment variable NO_PROXY includes *.local.

Call the address ΒΆ

Call the workload through its internal address using HTTP from your own workload:

http