OCI CLI
Ordered Sequence of Commands for Starting/Stoping an Stack in OCI
Unless you are in containers/microservices (or other) architectures, typically you have several stacks consisting in (maybe three) layers, like front, mw and db. The idea here is how can I schedule an ordered and dependent sequence of commands for starting or stopping the stacks. Start Sequence Start sequence is typically bottom-up # # start db […]
MoreAutomating OKE Clusters start/stop with DevCS
Reusing the work published here, here and here we are showing today how to schedule the start/stop sequence of an OKE cluster with Developer Cloud Service. Start job Create a build with the step as follows: git clone https://github.com/javiermugueta/oke-cluster-start-stop.git cd oke-cluster-start-stop ./oke-cluster-start-stop.sh -r=<region> -c=<compartment> -k=<clustername> -o=start The rest of steps pretty much equal to explained […]
More