-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSD-19779 - Run monitoring-plugin locally for 4.14+ clusters
This commit introduces a temporary nginx configuration and a function to run monitoring-plugin in a separate local container. This change only takes effect on cluster with version 4.14 and above. With this change: - An additional container is run locally for monitoring-plugin - The new container is run under the same network infrastructure of the console cotainer - Both the console container and the monitoring-plugin container run in daemon mode - Both containers use randomly reserved ports to listen for requests - monitoring-plugin container uses an inbuilt nginx server that accepts a mounted nginx configuration. For this reason we generate a temporary nginx configuration in backplane configuration directory and mount that to the container. - When both containers start up successfully, the terminal waits for an interrupt. Upon receiving the interrupt signal, both containers are stopped and removed.
- Loading branch information
Showing
3 changed files
with
289 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.