Commit Graph

21 Commits

Author SHA1 Message Date
Johannes M. Scheuermann 3a500aa565 fdb-kubernetes-monitor: Ensure that the annotations are updated when the correct configuration is already loaded 2024-07-05 09:46:37 -05:00
Johannes Scheuermann 7a3bd0d196 Add support for the isolate process group annotation to shutdown fdbserver processes ()
* Add support for the isolate process group annotation to shutdown fdbserver processes
2024-07-05 09:46:37 -05:00
Johannes Scheuermann 61e8d19920 fdbkubernetesmonitor: Retry update pod annotations in case of an error () 2024-07-05 09:46:37 -05:00
Nicole Morales 9cf26eb756 move certloader to internal folder 2024-07-05 09:46:37 -05:00
Nicole Morales ec47c2b97a review fixes 2024-07-05 09:46:37 -05:00
Nicole Morales bcd4e7d4e8 add TLS ability to fdb kubernetes monitor 2024-07-05 09:46:37 -05:00
Johannes Scheuermann cc2b7e23cd
[RELEASE-7.3] Back port fdbkubernetesmonitor feature ()
* Remove some steps are only needed once

* fdbkubernetesmonitor: Update the pod annotation if the cluster file changes

* Initial add of custom prometheus metrics

* Add support in the fdb-kubernetes-monitor to read node labels

* Restructure approach to be compatible with operator setup

* Correct name of the flag

* Add unit tests for PodClient

* only setup node informer if node watch feature is enabeld

* Add additional tests for PodClient

* Update format
2024-06-17 18:15:36 +02:00
Johannes Scheuermann b5230642ca
Add exponential backoff mechanism for restarting fdbserver processes in the monitor () 2024-06-12 15:08:39 +02:00
Aaron Molitor c498d240d4 update fdbkubernetesmonitor to match main, and add fdb-kubernetes-monitor to the standard build flow 2024-04-12 12:38:56 -05:00
Johannes Scheuermann 7bff4af14a
Initial support for Prometheus endpoint and pprof for debugging ()
* Initial support for Prometheus endpoint and pprof for debugging
2022-06-22 08:07:48 +01:00
Johannes Scheuermann c9b4ff3302
Add support for lumberjack in logging and update example to 7.1 () 2022-06-15 19:41:01 +01:00
John Brownlee 2f2e5219da Move the config file scheme into a separate package so it can be imported by the operator.
Move the argument for the number of servers per pod into a command-line argument so we can use the same config file at different storage server densities.
2021-11-12 11:58:38 -08:00
John Brownlee 5767701e1d Fix bugs with missing logger. 2021-11-02 18:53:25 -07:00
John Brownlee a6b903e7f8 Move the new Kubernetes image to centos 7. 2021-10-28 17:40:05 -07:00
John Brownlee 1a5069a047 Use an write-and-rename pattern when copying files for atomicity.
Restructure the usage of the mutex in the monitor class.
2021-10-28 17:40:05 -07:00
John Brownlee f8ec3cc27d Add an option to load an additional file of environment variables in fdb-kubernetes-monitor. 2021-10-28 17:40:05 -07:00
John Brownlee c7858d2441 Add the init and sidecar modes for fdb-kubernetes-monitor.
Add support for using a special binary path during upgrades in fdb-kubernetes-monitor.
2021-10-28 17:40:05 -07:00
John Brownlee 7c36123cf8 Adds structured logging in fdb-kubernetes-monitor.
Adds a backoff window when restarting processes in fdb-kubernetes-monitor.
2021-10-28 17:40:05 -07:00
John Brownlee 95ad5854be Add a mechanism to post updates from fdb-kubernetes-monitor to pod annotations.
Remove some of the local test data for fdb-kubernetes-monitor in favor of testing through a Kuberentes statefulset.
2021-10-28 17:40:05 -07:00
John Brownlee 0f173edb47 Add a dockerfile for fdb-kubernetes-monitor. 2021-10-28 17:40:05 -07:00
John Brownlee fd0aeaf48e Add a new process launcher for FDB on Kube. 2021-10-28 17:40:05 -07:00