https://github.com/tomarrell/infra
Personal infrastructure manifests
https://github.com/tomarrell/infra
infra kubernetes terraform
Last synced: 4 months ago
JSON representation
Personal infrastructure manifests
- Host: GitHub
- URL: https://github.com/tomarrell/infra
- Owner: tomarrell
- Created: 2020-05-26T22:29:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-20T17:10:00.000Z (over 1 year ago)
- Last Synced: 2025-10-22T10:53:44.330Z (8 months ago)
- Topics: infra, kubernetes, terraform
- Language: Shell
- Size: 80.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Personal Infrastructure Configuration
A repository which holds the deployment manifests for the applications in my
personal cluster.
## Overview
This repository contains Kubernetes manifests for deploying various services to
a personal cluster:
- **PostgreSQL Database**
- Persistent database deployment with encrypted credentials
- 5GB persistent storage
- Resource limits: 500m CPU, 1Gi Memory
- **Applications**
- Blog Service
- Poker Game Server
- Salary Calculator
- Snake Game
## Services
Each application is deployed as a Kubernetes service with:
- Container configurations
- Service definitions (ClusterIP)
- Kustomize-based deployments
- Docker images hosted on docker.io/tomarrell/personal
## Infrastructure Features
- Secure credentials management using age encryption
- Local path storage class for persistence
- Docker registry authentication
- Resource limits defined for all services
- Kustomize for deployment management
## Deployment
Each service can be deployed using:
```bash
kubectl apply -k kube/
```
For services with encrypted secrets (like PostgreSQL), decrypt the environment
file first:
```bash
age -d -i ~/.ssh/tomssh.pem -o ./postgres.env ./postgres.env.encrypted
```
## Repository Structure
```
kube/
├── blog/ # Blog service
├── poker/ # Poker game server
├── postgres/ # Database service
├── salary/ # Salary calculator
└── snake/ # Snake game
```