Constant K8S_POD_ANNOTATION

pub const K8S_POD_ANNOTATION: &'static str;
Expand description

The annotation placed on the Pod, the key being the annotation name, the value being the annotation value.

§Notes

Examples:

  • An annotation kubernetes.io/enforce-mountable-secrets with value true SHOULD be recorded as the k8s.pod.annotation.kubernetes.io/enforce-mountable-secrets attribute with value "true".
  • An annotation mycompany.io/arch with value x64 SHOULD be recorded as the k8s.pod.annotation.mycompany.io/arch attribute with value "x64".
  • An annotation data with empty string value SHOULD be recorded as the k8s.pod.annotation.data attribute with value "".

§Examples

  • "true"
  • "x64"
  • ""