Skip to content

Infrastructure as Code using Terraform to deploy kubernetes cluster on custom OCI cloud VMs

License

Notifications You must be signed in to change notification settings

nglehuy/oci-iac

Repository files navigation

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

About

Infrastructure as Code using Terraform to deploy kubernetes cluster on custom OCI cloud VMs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published