Skip to content

[NGINX]: DNS Lookup of multiple ingress pods via headless service #12746

@toms-place

Description

@toms-place

Integration Name

Nginx [nginx]

Dataset Name

stubstatus

Integration Version

1.24.1

Agent Version

8.14.3

OS Version and Architecture

Debian GNU/Linux 11 (bullseye) - 6.1.0-0.deb11.21-cloud-amd64

User Goal

I would like to use a headless service to scrape the stubstatus of all my ingress nginx instances individually.

Existing Features

Currently I would need to add each host individually, or use a service, which load balances in a round-robin fashion.
Adding each host is no option, because the pod IPs will change from time to time.

What did you see?

Data ingest is working fine for a single instance.

Anything else?

If there is an easy option to instruct the agent to use a headless service and scrape each IP resolved via DNS, I am happy to create a PR for it.
If not, I think this is a general request for all integrations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions