* graduate kube_endpoint_ports and kube_endpoint_address to STABLE
* graduate kube_endpoint_address_not_ready and
kube_endpoint_address_available to DEPRECATED as the information is
precomputed during metrics-scraping
Signed-off-by: Mario Constanti <mario@constanti.de>
As KSM shouldn't be responsible for computation of metrics, a new metric
is needed to expose available and unavailable addresses of an endpoint.
This new metric is generated as a future replacement for
kube_endpoint_address_available and kube_endpoint_address_not_ready.
Signed-off-by: Mario Constanti <mario@constanti.de>
metric - introduce new kube_endpoint_ports metric:
* export all relevant port infomation (port name, port number and port protocol) from an endpoint
tests - make endpoint tests endpoint.spec aware:
* endpoint port struct with multiple ports need port names per port
* single port struct doesn't need a port name
* port protocol is per default TCP
Signed-off-by: Constanti, Mario <mario.constanti@daimler.com>
Update of documentation for consistency reasons (see e.g. kube_service_labels or kube_deployment_labels or kube_persistenvolume_labels): label_RESOURCESTRINGINCAPITALLETTERS_LABEL=<RESOURCESTRINGINCAPITALLETTERS_LABEL>