Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to configure farm hosts when my application deploy in k8s cluster? #376

@ZhiXingHeYiApple

Description

@ZhiXingHeYiApple

I view the source code and official document, but very confused that how to configure farm hosts when my application deploy in k8s cluster. That promgen make full use of prometheus file_sd_config, through update /etc/prometheus/promgen.jsonfile to scrape tagets dynamicly. But the pod ip of my application is not fixed, I don't know how to configure farm hosts (Note: I also consider the custom discovery plugin, but the souce code prove that it's may not good choice).
It's doublt that whether promgen can integrate with prometheus-operator and thanos. If that's possible, any suggestion will be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions