Web/External service
or Internal service
to expose themselves for either public usage
(External
) or private usage within your environment (Internal
).
service1
, you will get an unique label called Alias
.
You can find this in “Overview” tab of service1
.
service1
and use it in other dependent service, say service2
as secret
variable to represent service1
host name. Within your code, you can access this as usual as an environment variable to
denote service1’s host name.
Alias
acts as an alias for a specific service’s internal/private DNS hostname. It is unique within an
environment and will not change during the lifetime of a service. You can pass the alias string as a secret variable to
another service within the environment. At run time, when the secret is passed as environment variable to service using
the alias, the alias string will be replaced with actual internal host name of the service.