Hubble provides extensive metrics to monitor network & applications behavior with respect to connectivity and security.
While following the installation instructions, enable
metrics with the --set metrics.enabled
:
helm template hubble \
--namespace kube-system \
--set metrics.enabled="{dns:query;ignoreAAAA,drop,tcp,flow,port-distribution,icmp,http}" \
> hubble.yaml
kubectl apply -f hubble.yaml
Most metrics can be configured to source and/or destination context as a label.
The options are called sourceContext
and destinationContext
. The possible
values are:
Option Value | Description |
---|---|
identity | All Cilium security identity labels |
namespace | Namespace name |
pod | Pod name |
Option Key | Option Value | Description |
---|---|---|
query | N/A | Include the query as label "query" |
ignoreAAAA | N/A | Ignore any AAAA requests/responses |
The following is an example dashboard. The corresponding JSON definition.