Skip to content

ArcticSnowman/oci-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oci-utils

A collection of shell scripts for interacting with Oracle Cloud Infrastructure (OCI) resources.

Scripts Included

  • install.sh: Script to install the utilities.
  • oci-functions.sh: Common functions used by other scripts.
  • oci-list-compute-images: List available images in OCI.
  • oci-list-compartments: List compartments in your OCI tenancy.
  • oci-list-log-groups: List log groups in a specified compartment.
  • oci-list-logs: List logs in a specified log group.
  • 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.
  • oci-policy-count-summary: Summarize policy counts by compartment.
  • oci-scan-policies: List all policies that apply to a given compartment.
  • oci-scan-logs: Search and display logs from OCI logging service.

Prerequisites

Installation

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.sh

Usage

Each script can be executed directly from the command line. For example:

oci-list-custom-images

License

MIT License

About

Collection of helper bash script for working with Oracle OCI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors