CHORE(app): initial configuration

- Add initial app settings
- Configure base deployment
This commit is contained in:
2025-11-24 22:09:18 +09:00
parent f1fadca73e
commit 8b195378a5
70 changed files with 2694 additions and 21 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: todo-app
labels:
environment: production
spec:
replicas: 1
template:
spec:
containers:
- name: todo-app
resources:
requests:
memory: "120Mi"
cpu: "50m"
limits:
memory: "230Mi"
cpu: "150m"

View File

@@ -0,0 +1,20 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: todo
resources:
- ../../base
- resourcequota.yaml
commonLabels:
environment: production
# 이미지 태그 설정
images:
- name: ghcr.io/mayne0213/todo
newTag: latest
patchesStrategicMerge:
- deployment-patch.yaml

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: ResourceQuota
metadata:
name: todo-quota
namespace: todo
spec:
hard:
requests.memory: "150Mi"
requests.cpu: "100m"
limits.memory: "250Mi"
limits.cpu: "200m"
pods: "2"