The purpose of the Jenkins job https://jenkins-aws.indexdata.com/job/Rancher/job/Automation/job/start-stop-project/
is to automatically/manually stop/start project for a period of time to save AWS costs.
At the moment we have schedule where every environment in folio-dev, folio-perf clusters are stopped during time period from 6PM EST (Friday) until 6:30 PM EST (Sunday).
Daily shutdowns in discussion at the moment.
Main purpose
For dev teams main purpose of the job could be necessity to use (development/testing process) their environment during stop period (weekends, nights?).
Job Parameters
The job requires the following parameters to be provided when running:
- action: Choose the action to be performed with the project "start" - if you need to work with env during stop hours, "stop" - after you finished your work.
- clusterName: Select the target cluster where the Kubernetes namespace is located.
- projectName: Select the target project where the Kubernetes namespace is located.
Usage
Select the Jenkins job and click on "Build with Parameters" to provide the required input.
Choose the desired action from the available options: "start" - if you need to work with env during stop hours, "stop" - after you finished your work.
Select the target cluster by choosing the appropriate option from the "clusterName" parameter dropdown.
Select the target project by choosing the appropriate option from the "projectName" parameter dropdown.
Click on "Build" to execute the job with the provided parameters.