OCI CLI

Automating 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

Creating Route Rule for Oracle OCI VCN Remote Peering : InvalidParameter – routeRules[0].networkEntityId may not be null


Problem: When creating a route rule for VCN remote peering between 2 Virtual Cloud Networks in different regions in Oracle OCI using the web console, the UI does not provide a way for selecting the DRG: Solution: Create the route rule with the CLI as follows: oci network route-table create –compartment-id xxx –vcn-id yyy –route-rules […]

More