- Build HealthCheck and CRUD API server in Kubernetes(minikube) environment
- Deploy and integrate Database
- Automate infrastructure using Terraform
- Deploy applications using Helm Chart configuration
- Terraform v1.5.7
- Docker v24.0.6
- Minikube v1.31.0
- Helm v3.16.3
- PostgreSQL (Bitnami Helm Chart)
For the technology stack and selection rationale used in API server implementation, please refer to the API Server Repository link.
INFRA/
├── helm/
│ ├── api-server/
│ │ ├── templates/
│ │ │ ├── deployment.yaml
│ │ │ └── service.yaml
│ │ ├── Chart.yaml
│ │ └── values.yaml
├── images/
│ └── ...
├── manual_test/
│ ├── test-api.yml
│ └── test-db.yml
└── terraform/
├── .terraform/
├── main.tf
├── providers.tf
├── variables.tf
├── terraform.tfvars
├── terraform.tfstate
├── terraform.tfstate.backup
└── .gitignore
Directory Structure Rationale (Terraform Standard Directory Structure)[https://developer.hashicorp.com/terraform/language/modules/develop/structure]
(Helm Chart Writing Guide)[https://helm.sh/docs/topics/charts/]
- Kubernetes cluster verification in local development environment
- Cost-efficient testing environment
- Gathering baseline data for Helm Chart creation
- Independent verification of each component
- Quick debugging when issues arise
✅ Minikube Cluster Setup
- Stable local Kubernetes environment setup ✅ PostgreSQL StatefulSet Deployment
- Persistent storage configuration
- Data consistency assurance
- Streaming Replication setup ✅ CRUD API Server Deployment
- Health Check endpoint implementation
- CRUD API implementation
- Documentation through Swagger ✅ Infrastructure as Code
- Terraform-based infrastructure management
- Application deployment automation through Helm Chart
Cluster Status
kubectl get all -n my-app
API Test Result
- Health Check Endpoint
- Enhanced Health Check System
- Kubernetes environment information provision
- DB connection status monitoring
- Detailed latency measurement
- Comprehensive system status logging
- Github Action CI Implementation
- Automated Code convention checks
- Automated container build and upload
- Database High Availability
- Streaming Replication configuration
- Enhanced API Server
- Improved exception handling system
- Strengthened logging system
- Monitoring System Implementation
- Prometheus metrics collection
- Grafana dashboard configuration
- CD Pipeline Implementation
- Zero-downtime deployment based on ArgoCD
- Automated test integration