Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

feat: Optional support for updating configuration at runtime #14

Open
akanieski opened this issue Jul 14, 2022 · 0 comments
Open

feat: Optional support for updating configuration at runtime #14

akanieski opened this issue Jul 14, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@akanieski
Copy link
Owner

It would be great to be able to adjust the MINIMUM_AGENT_COUNT at runtime without have to restart the agent orchestrator service. It may also be useful to change other configurables at runtime.

Proposal
Replace get properties in KuberenetesAgentHostService and ACIAgentHostService for configurables like MINIMUM_AGENT_COUNT so that they first attempt to read from a path on the filesystem. This would give people the opportunity to use Kubernetes ConfigMap objects to adjust values at runtime. You could for example, scale your minimum agent count from a high number during busy periods, and scale down to less during slow periods.

@akanieski akanieski changed the title feat: Optional support for reading configuration at runtime feat: Optional support for updating configuration at runtime Jul 14, 2022
@akanieski akanieski added the good first issue Good for newcomers label Jul 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant