Skip to main content

K8S_NODE_ANNOTATION

Constant K8S_NODE_ANNOTATION 

pub const K8S_NODE_ANNOTATION: &'static str;
Available on crate feature opentelemetry only.
Expand description

The annotation placed on the Node, the key being the annotation name, the value being the annotation value, even if the value is empty.

§Notes

Examples:

  • An annotation node.alpha.kubernetes.io/ttl with value 0 SHOULD be recorded as the k8s.node.annotation.node.alpha.kubernetes.io/ttl attribute with value "0".
  • An annotation data with empty string value SHOULD be recorded as the k8s.node.annotation.data attribute with value "".

§Examples

  • "0"
  • ""