As a kubernetes operator using Rancher and Kubewarden,
I want to have a quick overview about how a policy is behaving,
so that I can see how effective it is and spot issues.
Given a ClusterAdmissionPolicy, show a list of metrics pulled from Prometheus:
How many requests have been processed by this policy?
How many requests have been accepted vs rejected?
What is the latency introduced by this policy?
It would also be useful to pull data from Jaeger, maybe the most recent evaluation of the policy so that:
I can see the last 10/20/X requests that have been rejected
I can click on one of the rejection events and see information as:
What resource was targeted by the request
What action was attempted (CREATE, UPDATE, DELETE)
Which Namespace (if available) was targeted
Eventual log messages generated by the policy during the evaluation of the request
Evaluation details: time, PolicyServer and more specifically the Pod that took the request
Given a
ClusterAdmissionPolicy
, show a list of metrics pulled from Prometheus:It would also be useful to pull data from Jaeger, maybe the most recent evaluation of the policy so that: