This discovery strategy relies on the Kubernetes API server.
It queries the Kubernetes API endpoint /api/v1/namespaces/{namespace}/endpoints/{service_name}
to retrieve the IP addresses or hostnames of all pods associated with that service,
which are then converted into Erlang node names.
Configuration parameters:
apiserverType: string() (Required).
The URL of the Kubernetes API server.
service_nameType: string() (Required).
The name of the Kubernetes Service used for discovery.
app_nameType: string(), default: classy_autocluster:app_name/0.
The application name used as a prefix for the generated node names.
address_typeType: ip | hostname | dns, default: ip.
Determines the address extraction and node naming format.
namespaceType: string(), default: "default".
The Kubernetes namespace where the service is located.
suffixType: string(), default: "".
An optional DNS suffix appended to the node name.
Only used with the hostname and dns address types.