Clarify metrics collection from typha in operator based installations
#10,755 opened on Jul 31, 2025
Repository metrics
- Stars
- (7,292 stars)
- PR merge metrics
- (PR metrics pending)
Description
We want to follow https://docs.tigera.io/calico/latest/operations/monitor/monitor-component-metrics and noticed that the operator already creates a service called calico-typha-metrics when we set typhaMetricsPort in our Installation resource. This operator managed service is different from the one defined in https://docs.tigera.io/calico/latest/operations/monitor/monitor-component-metrics#creating-a-service-to-expose-typha-metrics and we are wondering which one to use?
Expected Behavior
Operator should not create the service? Or documentation should not specify that we are supposed to create it ourself?
Current Behavior
Operator creates a service and we are creating one following the documentation.
Possible Solution
Update documentation so that it points out that the operator creates services for calico-typha-metrics.
Since the operator already creates a service for calico-kube-controllers-metrics as well, it would be even nicer if it would create one for felix as well?
Steps to Reproduce (for bugs)
- Install calico w/ operator
- Follow guide at https://docs.tigera.io/calico/latest/operations/monitor/monitor-component-metrics
- Call
kubectl --namespace calico-system get services - See services called
calico-typha-metrics(operator managed) andtypha-metrics-svc(self-managed)
Context
Everything works fine, we just spend some time on figuring out what is happening.
Your Environment
- Calico version: 3.30.2
- Calico dataplane (bpf, nftables, iptables, windows etc.): iptables
- Orchestrator version (e.g. kubernetes, openshift, etc.): kubernetes
- Operating System and version: Ubuntu 24.04
- Link to your project (optional):