| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Add a JSON-encoded `annotations` string to PodUpdate so pod annotations can be propagated through the metadata pipeline, mirroring the existing `labels` field. Regenerates the Go proto. Signed-off-by: nyadav4 <nyadav4@atlassian.com>
Filter pod annotations to an operator-configured allowlist (`pod_annotation_allowlist`) before emitting them in pod updates. Annotations can be large/noisy (e.g. last-applied-configuration), so an empty allowlist captures nothing by default. Signed-off-by: nyadav4 <nyadav4@atlassian.com>
Plumb the new annotations field into PodInfo so the agent-side metadata state retains pod annotations for downstream consumers. Signed-off-by: nyadav4 <nyadav4@atlassian.com>
Expose pod annotations to PxL via a new UDF, analogous to pod_id_to_pod_labels. Signed-off-by: nyadav4 <nyadav4@atlassian.com>
Surface the pod annotation allowlist as an env var on the metadata deployment and statefulset so it is configurable at deploy time. Signed-off-by: nyadav4 <nyadav4@atlassian.com>
metadata: consolidate pod annotation allowlist test into handler test Move the pod annotation allowlist coverage out of the standalone k8s_metadata_annotations_test.go and into k8s_metadata_handler_test.go, alongside the other handler tests. The test now exercises the allowlist end-to-end through NewHandler. Signed-off-by: nyadav4 <nyadav4@atlassian.com>
| Back | FazBrowse Home | New Git URL |
Summary:
Adds Kubernetes pod annotations to Pixie's metadata pipeline, mirroring the existing pod-labels support. Pod annotations often carry operationally useful metadata (team/ownership tags, GitOps/CI info, config checksums), which was previously not queryable in Pixie.
Relevant Issues: #2398
Type of change: /kind api-change
Test Plan:
Changelog Message:
Add support for capturing Kubernetes pod annotations in metadata (opt-in via the PL_POD_ANNOTATION_ALLOWLIST allowlist), queryable in PxL with px.pod_id_to_pod_annotations.