projectcalico/calico

Clarify metrics collection from typha in operator based installations

開放

#10,755 建立於 2025年7月31日

 (5 則留言) (0 個反應) (0 位負責人)Go (1,594 個分叉)auto 404
area/documentationarea/operatorgood first issuehelp wantedimpact/lowkind/bugkind/enhancementlikelihood/high

倉庫指標

星標
 (7,292 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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)

  1. Install calico w/ operator
  2. Follow guide at https://docs.tigera.io/calico/latest/operations/monitor/monitor-component-metrics
  3. Call kubectl --namespace calico-system get services
  4. See services called calico-typha-metrics (operator managed) and typha-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):

貢獻者指南