Skip to content

Latest commit

 

History

History
80 lines (58 loc) · 2.63 KB

README.md

File metadata and controls

80 lines (58 loc) · 2.63 KB

OCI IaC (Infrastructure as Code)

This repository contains infrastructure code for deploying kubernetes cluster on Oracle Cloud VMs

This is written in Terraform with custom python scripts.

This uses the Oracle Cloud Infrastructure (OCI) provider.

Documentation

Installation

1. Install Terraform

brew tap hashicorp/tap
brew install terraform

2. Install Python Environment

Make sure the .venv is created and activated on every terminal session.

python3.12 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt -r requirements.dev.txt

3. Install K8s Cluster

cd k8s
terraform init -reconfigure -upgrade
terraform apply

3. Install Apps

# cert-manager
cd apps/common
terraform init -reconfigure -upgrade
terraform apply

# prometheus
cd apps/prometheus
terraform init -reconfigure -upgrade
terraform apply

References

1. OCI + K8s

2. Metallb + Ingress Nginx

3. Cert-Manager

4. Prometheus