Skip to content

Split config into multiple files  #484

Closed

Description

@syd20

I would like to have the option to split the config into multiple files - as in multiple files in a directory. Currently I have a dynamic setup on EKS where I have multiple probes defined and changes to one requires me to regenerate the config file. Related to this, it would be useful to even be able to reload the config without the need to restart the pod for which I'll file a separate ticket.

Activity

  1. added
    enhancement
    on Aug 31, 2023
  2. manugarg commented on Sep 27, 2023

    @manugarg
    Contributor

    Live reload has come up a few times before. I've been reluctant of adding it because clearing a probe's (and other) state cleanly on its removal was not very well implemented. We've certainly improved in that area quite a bit and can look at it again.

  3. manugarg commented on Dec 13, 2023

    @manugarg
    Contributor

    FYI,

    I am working on adding the include file support here: #643

    You'll be able to create a top level file that includes other files. Example:

    -- cloudprober.cfg --
    include "cloudprober.d/team1.cfg"
    include "cloudprober.d/team2.cfg"
    include "cloudprober.d/team3.cfg"

    @syd20 can you please change this ticket to just be multiple files, and file a separate one for reload config?

  4. changed the title [-]Split config into multiple files and reread config without restarting pod[/-] [+]Split config into multiple files [/+] on Dec 14, 2023
  5. syd20 commented on Dec 14, 2023

    @syd20
    Author

    Changed the scope of ticket to create multiple config files

  6. self-assigned this
    on Dec 14, 2023
  7. added this to the v0.13.2 milestone on Dec 14, 2023
  8. manugarg commented on Dec 17, 2023

    @manugarg
    Contributor

    I've added multiple config files support to cloudprober helm-charts as well:
    cloudprober/helm-charts#28

    Closing it now. I'll cut a new release next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions