Modify the config via an API

I have a usecase where over time I want to, from a deployed web app, modify the config, for example, increase a replica. I would like to keep the replica number in the config, and have my application change it from e.g. 1 to 2 via an http call. The admin frontend also uses endpoints to get and store the config but I can’t seem to find any docs on how to work with it.

Afaik there’s no official API in kots that would allow you to do this in a supported way. There is the UpdateAppConfig that is being called. You can also see this from your browser when using Developer Tools. So maybe that could work for you? But maybe a pod autoscaler could also work and be easier?

Also there is a way to do this via kots set config. So that could be a supported way of doing things.