How ggingggang/oci-always-free-k8s works
This repository provisions and operates an OCI-hosted Kubernetes platform. The main workflow is Terraform provisioning OCI infrastructure and OKE, followed by Kubernetes foundation setup and GitOps-managed platform and application deployment. Application CI runs in Jenkins; its shared-library workflow updates image tags in the separate k8s-gitops repository, which Argo CD synchronizes. The README documents the main deployment and traffic relationships; source excerpts were unavailable, so edges below rely on those documented relationships rather than inspected implementation calls.
Main entry points: main.tf Terraform stack · oke OKE cluster · istio Istio ingress · argocd Argo CD
Components 21
OCI provisioning
- Terraform stack
terraform/main.tf - VCN and networking
terraform/modules/networking - OKE cluster
terraform/modules/oke - HeatWave MySQL
terraform/modules/database - IAM and KMS
terraform/modules/iam
Cluster foundation
- Namespaces and policies
kubernetes/infra/namespaces - Istio ingress
kubernetes/infra/istio - TLS and DNS
kubernetes/infra/cert-manager
GitOps delivery
- Argo CD
kubernetes/platform/argocd - Application manifests
- Jenkins CI
kubernetes/platform/jenkins - Service repositories
Application runtime
- Redis
kubernetes/platform/redis - NATS JetStream
kubernetes/platform/nats - OpenBao secrets
kubernetes/platform/openbao - Prometheus and Alertmanager
kubernetes/platform/monitoring/kps - Loki logging
kubernetes/platform/monitoring/loki - Image verification
kubernetes/platform/kyverno - Applications
Other components
- Engineer / administrator
- Internet and clients
Connections 23
- Engineer / administrator → Terraform stack: configures
README.md - Terraform stack → VCN and networking: provisions
README.md - Terraform stack → OKE cluster: provisions
README.md - Terraform stack → HeatWave MySQL: provisions
README.md - Terraform stack → IAM and KMS: configures
README.md - Engineer / administrator → OKE cluster: administers
README.md - OKE cluster → Namespaces and policies: hosts
README.md - Namespaces and policies → Istio ingress: precedes setup
README.md - Istio ingress → TLS and DNS: uses TLS and DNS
README.md - Jenkins CI → Service repositories: builds and scans
README.md - Jenkins CI → Application manifests: pushes image tags
README.md - Argo CD → Application manifests: syncs manifests
README.md - Argo CD → Applications: deploys
README.md - Internet and clients → Istio ingress: enters via NLB
README.md - Istio ingress → Applications: routes requests
README.md - Applications → HeatWave MySQL: uses
README.md - Applications → Redis: uses
README.md - Applications → NATS JetStream: uses
README.md - Applications → OpenBao secrets: uses secrets
- Image verification → Applications: verifies images
README.md - Prometheus and Alertmanager → Applications: observes
- Loki logging → Applications: collects logs
- OKE cluster → Argo CD: runs
README.md