HostnameGenerator

Returns HostnameGenerator entity

Changed on
get/v3/mesh/control-planes/{cpId}/hostnamegenerators/{name}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

cpId, string uuid required

Id of the Konnect resource

name, string required

name of the HostnameGenerator

Response

Successful response

HostnameGeneratorItem required

HostnameGenerator automatically generates DNS hostnames for services in the mesh based on customizable templates. It provides a consistent naming scheme for service discovery by creating predictable hostnames from service labels and metadata, supporting both MeshService, MeshExternalService, and MeshMultiZoneService resources.

type, 'HostnameGenerator' required

the type of the resource

kri, string

A unique identifier for this resource instance used by internal tooling and integrations. Typically derived from resource attributes and may be used for cross-references or indexing

name, string required

Name of the Kuma resource

labels, object

The labels to help identity resources

spec, object required

Spec is the specification of the Kuma HostnameGenerator resource.

creationTime, string date-time

Time at which the resource was created

modificationTime, string date-time

Time at which the resource was updated

Example response

{
  "kri": "kri_hg___kuma-system_myresource1_",
  "creationTime": "1901-01-01T00:00:00.000Z",
  "modificationTime": "1901-01-01T00:00:00.000Z"
}

Changes