I've setup new jobs on jenkins which enable you to run the scripts included here. The job is parameterized on environment and service should we choose to get fancy and to let me run it on test clusters:
logsearch-scale-daytime-down - removes nodes and reduces replicas
logsearch-scale-daytime-up - adds nodes and increases replicas
I've created separate jobs whose purpose is simply the scheduled invocation of the actual scaling builds: cron-live-logsearch-scale-daytime-down and cron-live-logsearch-scale-daytime-up. They're currently disabled.
The docker usage within Jenkins is working, aside from limited disk space and it occasionally rebuilding the image from scratch for no apparent reason. I've added additional logging to try and diagnose the latter.
This is based on the requirements and discussion of #334
I've setup new jobs on jenkins which enable you to run the scripts included here. The job is parameterized on
environment
andservice
should we choose to get fancy and to let me run it on test clusters:logsearch-scale-daytime-down
- removes nodes and reduces replicaslogsearch-scale-daytime-up
- adds nodes and increases replicasI've created separate jobs whose purpose is simply the scheduled invocation of the actual scaling builds:
cron-live-logsearch-scale-daytime-down
andcron-live-logsearch-scale-daytime-up
. They're currently disabled.The docker usage within Jenkins is working, aside from limited disk space and it occasionally rebuilding the image from scratch for no apparent reason. I've added additional logging to try and diagnose the latter.
This is based on the requirements and discussion of #334