Skip to main content

K8S_PERSISTENTVOLUMECLAIM_ANNOTATION

Constant K8S_PERSISTENTVOLUMECLAIM_ANNOTATION 

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

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

§Notes

Examples:

  • An annotation volume.beta.kubernetes.io/storage-provisioner with value kubernetes.io/aws-ebs SHOULD be recorded as the k8s.persistentvolumeclaim.annotation.volume.beta.kubernetes.io/storage-provisioner attribute with value "kubernetes.io/aws-ebs".
  • An annotation data with empty string value SHOULD be recorded as the k8s.persistentvolumeclaim.annotation.data attribute with value "".

§Examples

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