A collection of shell scripts for interacting with Oracle Cloud Infrastructure (OCI) resources.
- install.sh: Script to install the utilities.
- oci-functions.sh: Common functions used by other scripts.
- oci-list-custom-images: List available images in OCI.
- oci-list-compartments: List compartments in your OCI tenancy.
- oci-list-oke-clusters: List Oracle Kubernetes Engine (OKE) clusters.
- oci-list-oke-node-pools: List node pools in OKE clusters.
- oci-list-oke-nodes: List nodes in OKE clusters.
- oci-list-subnets: List subnets in your OCI tenancy.
- oci-list-volumes: List block/boot volumes in OCI compartment.
- oci-oke-create-kubeconfig: Create kubeconfig file for accessing OKE clusters.
- Bash shell
- OCI CLI installed and configured (OCI CLI documentation)
Clone the repository:
git clone https://github.com/ArcticSnowman/oci-utils.git
cd oci-utils
Install dependencies:
sudo apt-get install jq column
Run Installation script:
./install.shEach script can be executed directly from the command line. For example:
oci-list-custom-imagesMIT License