Skip to main content

K8S_PERSISTENTVOLUME_ANNOTATION

Constant K8S_PERSISTENTVOLUME_ANNOTATION 

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

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

§Notes

Examples:

  • An annotation pv.kubernetes.io/provisioned-by with value kubernetes.io/aws-ebs SHOULD be recorded as the k8s.persistentvolume.annotation.pv.kubernetes.io/provisioned-by attribute with value "kubernetes.io/aws-ebs".
  • An annotation data with empty string value SHOULD be recorded as the k8s.persistentvolume.annotation.data attribute with value "".

§Examples

  • "kubernetes.io/aws-ebs"
  • ""