Target Jenkins pipeline: Link
Aim: Spin up automatically scaled down Rancher environment
Epilogue: *** Starting from All Rancher environments will be excluded from auto start action inside "managePods" pipeline i.e. to make environment up & running manual interaction is a MUST.
INFO:
Scaling down schedule: Link
Time zone: UTC i.e. all schedules are in UTC time zone
How to start Rancher environment:
PARAMETER | VALUE | REQUIRED |
---|---|---|
CLUSTER | List of clusters | true |
NAMESPACE | List of namespaces | true |
ACTION | start | default value | true |
P.S. ***IGNORE ALL OF THE REST PARAMETERS***
EXAMPLE OF STARTING SAMPLE RANCHER ENVIRONMENT:
- Select all 3 required parameters
- Click on "BUILD" button at the bottom of Jenkins pipeline page
- Wait until job execution is complete
How to monitor job status:
- Review Console Output
If Green Checkmark appeared, then pipeline execution successfully complete.
Check, Verify & Validate target environment.
Information, how to construct environment URLs, please visit this page: Link
In case of any issue, please report via Slack Channel.
How to exclude environment from auto shutdown list:
(CAUTION: THIS IS ONE TIME OPERATION, SETTINGS ARE NOT PERMENANT, i.e. if target date passed, on the next cycle environment will be automatically included into the list)
P.S. ***IGNORE ALL OF THE REST PARAMETERS***
PERIOD:
parameter defines for how long target environment will be excluded from auto shutdown process, possible values: night (upcoming i.e. DO NOT shutdown tonight), weekend (upcoming i.e. DO NOT shutdown on this weekend)
PARAMETER | VALUE | REQUIRED |
---|---|---|
CLUSTER | List of clusters | true |
NAMESPACE | List of namespaces | true |
PERIOD | night || weekend | true |
SUSPEND | checkmark | true |
EXAMPLE of parameters selection to suspend auto shutdown for tonight:
- select all required 4 parameters
- click on "BUILD" button at the bottom of Jenkins pipeline page
- wait until job execution is complete