Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NETOBSERV-1875: Make enrichment indexes configurable #711

Merged
merged 3 commits into from
Sep 20, 2024

Commits on Sep 13, 2024

  1. NETOBSERV-1875: Make enrichment indexes configurable

    For secondary interfaces, it's better to allow more configurable
    indexing for pods enrichment. For some network types, pods might be identified by their MAC
    address advertized in the network-status annotations, while in others it
    can be by IP, by interface name, or any combination of those.
    
    This PR makes it all configurable in that way (example):
    
    ```bash
    secondaryNetworks:
    - name: my-network
      index:
        mac: true
        ip: true
    ```
    
    More than one network can be configured that way.
    
    Additionally, a new metric is added to track which indexer is used for
    every enrichment hit: promql:
    `sum(rate(netobserv_secondary_network_indexer_hit[1m])) by (kind,
    network, error)`
    
    This metric can also report errors and unexpected multiple matches
    jotak committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    2914105 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90329b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    f2e1166 View commit details
    Browse the repository at this point in the history