Skip to main content

K8S_SERVICE_PUBLISH_NOT_READY_ADDRESSES

Constant K8S_SERVICE_PUBLISH_NOT_READY_ADDRESSES 

pub const K8S_SERVICE_PUBLISH_NOT_READY_ADDRESSES: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
Expand description

Whether the Service publishes not-ready endpoints.

§Notes

Whether the Service is configured to publish endpoints before the pods are ready. This attribute is typically used to indicate that a Service (such as a headless Service for a StatefulSet) allows peer discovery before pods pass their readiness probes. It aligns with the publishNotReadyAddresses field of the K8s ServiceSpec.

§Examples

  • true
  • false