https://github.com/nasus20202/infra
Infrastructure as Code
https://github.com/nasus20202/infra
ansible argocd cluster infrastructure kubernetes terraform
Last synced: 7 months ago
JSON representation
Infrastructure as Code
- Host: GitHub
- URL: https://github.com/nasus20202/infra
- Owner: Nasus20202
- Created: 2025-02-21T14:32:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-28T18:37:44.000Z (7 months ago)
- Last Synced: 2025-11-28T22:54:44.172Z (7 months ago)
- Topics: ansible, argocd, cluster, infrastructure, kubernetes, terraform
- Language: HCL
- Homepage:
- Size: 332 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My infrastructure
## Terraform
- [Remote S3 Terraform state](./terraform/remote-state)
- [Oracle Cloud Infrastructure (OCI)](./terraform/oci/)
- [Compute](./terraform/oci/compute) - All compute resources
- Virtual Cloud Network (VCN) with private and public subnet
- 2 `VM.Standard.A1.Flex` instances each with 2 OCPU and 12 GB memory for RKE2 cluster
- Network Load Balancer (NLB) with nodes behind it
- OCI Object Storage bucket for Longhorn backups
- DNS records for NLB in Cloudflare
## Ansible
- [Oracle Cloud Infrastructure (OCI)](./ansible/oci/)
- [Compute](./ansible/oci/compute)
- [Cluster](./ansible/oci/compute/cluster) - RKE2 cluster with 2 nodes
- Automated installation for both server and worker node
## Kubernetes
- [Oracle Cloud Infrastructure (OCI)](./kubernetes/oci/)
- [Compute](./kubernetes/oci/compute)
- [Cluster](./kubernetes/oci/compute/cluster) - K8s configuration for:
- Upgrade controller - `system-upgrade-controller` for automated RKE2 upgrades
- Cert manager - `cert-manager` for SSL certificates
- Longhorn - `longhorn` distributed block storage
- Monitoring - Kube Prometheus Stack - `kube-prometheus-stack` with Prometheus and Grafana
- Monitoring - Grafana Loki - `loki` for log collection
- Monitoring - Grafana Tempo - `tempo` for distributed tracing
- Monitoring - K8s Monitoring - `alloy` both as a logging agent and OpenTelemetry collector
- ArgoCD - `argocd` for GitOps