Initial commit

This commit is contained in:
llm-bot
2026-07-08 18:01:36 +09:00
commit 287885a5e7
9 changed files with 469 additions and 0 deletions

63
k8s/deployment.yaml Normal file
View File

@@ -0,0 +1,63 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ${RELEASE_NAME}
labels:
app.kubernetes.io/name: ${RELEASE_NAME}
app.kubernetes.io/managed-by: "jenkins"
watcher.project: "16663cf7-1571-4a29-84a0-ea362c39922e"
watcher.nodeId: "2d1251be-816e-424b-9b84-8dfed9328bc0"
watcher.role: "agent"
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: ${RELEASE_NAME}
template:
metadata:
labels:
app.kubernetes.io/name: ${RELEASE_NAME}
app.kubernetes.io/managed-by: "jenkins"
watcher.project: "16663cf7-1571-4a29-84a0-ea362c39922e"
watcher.nodeId: "2d1251be-816e-424b-9b84-8dfed9328bc0"
watcher.role: "agent"
watcher.branch: ${BRANCH_NAME}
annotations:
watcher.enabled: "true"
spec:
imagePullSecrets:
- name: cr-pull
containers:
- name: app
image: ${FULL_IMAGE}
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 80
env:
- name: TZ
value: "Asia/Seoul"
# TCP probe — Agent(/) MCP(/mcp) 구분 없이 포트 오픈 여부만 확인
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 3
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 6
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 6
resources:
requests:
cpu: "50m"
memory: "128Mi"
limits:
cpu: "500m"
memory: "1Gi"