{"id":25436739,"url":"https://github.com/yaroze/oci-k8s","last_synced_at":"2026-04-15T20:02:04.895Z","repository":{"id":276865442,"uuid":"930425459","full_name":"yaroze/oci-k8s","owner":"yaroze","description":"Simple OpenTofu/Terraform to deploy a Kubernetes cluster on Oracle Cloud Infrastructure as well as some useful tools","archived":false,"fork":false,"pushed_at":"2025-04-29T02:33:06.000Z","size":111,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T03:11:26.708Z","etag":null,"topics":["example","kubernetes","kubernetes-deployment","opentofu","oracle-cloud","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaroze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-10T16:04:10.000Z","updated_at":"2025-04-29T16:44:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"10a08810-a5d1-4adb-b065-5df3aed94989","html_url":"https://github.com/yaroze/oci-k8s","commit_stats":null,"previous_names":["yaroze/oci-k8s"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/yaroze/oci-k8s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaroze%2Foci-k8s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaroze%2Foci-k8s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaroze%2Foci-k8s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaroze%2Foci-k8s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaroze","download_url":"https://codeload.github.com/yaroze/oci-k8s/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaroze%2Foci-k8s/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267693799,"owners_count":24129137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example","kubernetes","kubernetes-deployment","opentofu","oracle-cloud","terraform"],"created_at":"2025-02-17T08:22:12.539Z","updated_at":"2026-04-15T20:02:04.890Z","avatar_url":"https://github.com/yaroze.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCI Kubernetes Infrastructure\n\n[![CI Status](https://codeberg.org/yaroze/oci-k8s/actions/workflows/tofu-tests.yaml/badge.svg)](https://codeberg.org/yaroze/oci-k8s/actions?workflow=tofu-tests.yaml)\n\nA comprehensive Terraform/OpenTofu solution for deploying production-ready Kubernetes clusters on Oracle Cloud Infrastructure (OCI) with integrated application bootstrapping and database management via StackGres.\n\n## Architecture Overview\n\nThis project provides three modular deployment components:\n\n- **Base Infrastructure**: Core Kubernetes cluster with networking, security, and node pools\n- **Bootstrap Applications**: Essential cluster services (ingress, DNS, certificates, monitoring)\n- **StackGres Database**: PostgreSQL cluster management with high availability\n\n## Quick Deploy\n\n### Stable (Latest Release)\n\n| Component | Deploy |\n|-----------|--------|\n| Base Kubernetes Infrastructure | [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/yaroze/oci-k8s/releases/latest/download/base.zip) |\n| Bootstrap Applications | [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/yaroze/oci-k8s/releases/latest/download/bootstrap.zip) |\n| StackGres Database | [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/yaroze/oci-k8s/releases/latest/download/stackgres.zip) |\n\n### Development (Dev Branch)\n\n| Component | Deploy |\n|-----------|--------|\n| Base Kubernetes Infrastructure | [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/yaroze/oci-k8s/releases/download/dev/base.zip) |\n| Bootstrap Applications | [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/yaroze/oci-k8s/releases/download/dev/bootstrap.zip) |\n| StackGres Database | [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/yaroze/oci-k8s/releases/download/dev/stackgres.zip) |\n\n## Documentation\n\nComprehensive deployment guides are available in the following series:\n\n- [Part 1: Base Infrastructure Setup](https://medium.com/@plfarinha/automatically-deploying-a-basic-kubernetes-cluster-on-oracle-cloud-for-stackgres-d1ada61c46e2)\n- [Part 2: Application Bootstrap](https://medium.com/@plfarinha/deploying-a-basic-kubernetes-cluster-on-oracle-cloud-for-stackgres-part-2-bc6d281cd2bf)\n- [Part 3: StackGres Configuration](https://medium.com/@plfarinha/deploying-a-basic-kubernetes-cluster-on-oracle-cloud-for-stackgres-part-3-4d5bda66c48b)\n\n## Prerequisites\n\n- Oracle Cloud Infrastructure account with PAYG (Pay As You Go) subscription\n- Appropriate IAM permissions for resource creation\n- Basic understanding of Kubernetes and Terraform concepts\n\n## Features\n\n- **Production-Ready**: Secure networking, RBAC, and monitoring included\n- **Modular Design**: Deploy components independently based on requirements\n- **Cost-Optimized**: Designed to minimize OCI costs while maintaining functionality\n- **Automated SSL**: Integrated cert-manager with Let's Encrypt\n- **Private Networking**: Secure cluster communication with proper network segmentation\n\n## Support\n\nFor questions, issues, or feature requests, please [open an issue](https://github.com/yaroze/oci-k8s/issues) on GitHub.\n\n## Disclaimer\n\nThis project is provided as-is for educational and development purposes. While designed with best practices in mind, please review and test thoroughly before using in production environments. The author is not responsible for any costs, data loss, or issues that may arise from using this code.\n\n## License\n\nThis project is licensed under the terms specified in the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaroze%2Foci-k8s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaroze%2Foci-k8s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaroze%2Foci-k8s/lists"}