Cilium Policy Verdicts
Cilium Policy Verdicts Dashboard
This dashboard provides visibility on Network Policy application in a Cilium cluster.
Requirements
Cilium Version
This dashboard uses the hubble_policy_verdicts_total
metrics, which was
introduced in:
- Isovalent Cilium Enterprise 1.12.0
- Cilium OSS 1.13.0
Configuration
The hubble_policy_verdicts_total
needs to be enabled in the Cilium metrics.
This can be achieved by using the policy
metrics in hubble.metrics.enabled
,
for example using Helm values:
hubble:
metrics:
enabled:
- "policy:sourceContext=app|workload-name|pod|reserved-identity;destinationContext=app|workload-name|pod|dns|reserved-identity;labelsContext=source_namespace,destination_namespace"
This example will enable policy
metrics (you can add more metrics to that list).
Additionally, it will configure the labels for
the policy
metric series to use:
app
,workload-name
,pod
orreserved-identity
for source flowsapp
,workload-name
,pod
,dns
, orreserved-identity
for destination flows- additional
source_namespace
anddestination_namespace
labels
The present Grafana dashboard is optimized for this context configuration (see documentation).
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |
Cilium Enterprise
Easily monitor your deployment of Cilium Enterprise with Grafana Cloud's out-of-the-box monitoring solution.
Learn more