I’m trying to create container resource groups based on pod labels, but these do not seem to be available.
In specific I want to be able to create resource groups and queries based on the output of: kubectl get pod my_pod -n my_namespace -o=jsonpath='{.metadata.labels}'
Below is an example of what I would like to do in query terms:
filter {
containers.PROPS_LABELSL"my_pod_label_key"] = "my_pod_label_value"
}
(this won’t actually work afaik, just an illustration of what I’m after)
Seems like a rather obvious thing to be able to do. Wondering is there is an apparent trick I’m missing.
Agent
N/A
Platform
Tuning Lacework/Customization
Cloud
N/A