Open khrm opened 1 year ago
/kind feature
Should also watch secrets
, because the DB details and TLS details.
@khrm IMO this should be broken down in two parts and implemented in different project. For example.
FSevents
should be implemented and it should only allow changing parameters that doesn't require restart, like LogLevel
. Changing other parameters like Port
and Dbname
would break the service if we only restart the Pod. Moreover, if there is only one replica running, this would impact the service for some time, which can in the middle of log transmission and that is non-recoverable.
Expected Behavior
The results API server should have a watcher for the configmap.
Actual Behavior
The results API server doesn't take into account changes done to configmap. We need to delete the API server pod and wait for a restart. This is different from other components' behavior.