feat : initial commit

This commit is contained in:
2025-06-20 05:42:24 +00:00
commit 409d7abdc6
245 changed files with 17069 additions and 0 deletions
@@ -0,0 +1,55 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: api-gateway
namespace: team1tier-healthsync-ns
spec:
replicas: 2
selector:
matchLabels:
app: api-gateway
template:
metadata:
labels:
app: api-gateway
spec:
imagePullSecrets:
- name: acr-secret
containers:
- name: api-gateway
image: acrhealthsync01.azurecr.io/team1tier/api-gateway:1.0.0
imagePullPolicy: Always
envFrom:
- configMapRef:
name: common-config
- configMapRef:
name: api-gateway-config
- secretRef:
name: common-secret
resources:
requests:
cpu: 256m
memory: 256Mi
limits:
cpu: 1024m
memory: 1024Mi
ports:
- containerPort: 8080
startupProbe:
httpGet:
path: /actuator/health
port: 8080
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /actuator/health
port: 8080
initialDelaySeconds: 60
periodSeconds: 15
readinessProbe:
httpGet:
path: /actuator/health
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
@@ -0,0 +1,55 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: goal-service
namespace: team1tier-healthsync-ns
spec:
replicas: 2
selector:
matchLabels:
app: goal-service
template:
metadata:
labels:
app: goal-service
spec:
imagePullSecrets:
- name: acr-secret
containers:
- name: goal-service
image: acrhealthsync01.azurecr.io/team1tier/goal-service:1.0.0
imagePullPolicy: Always
envFrom:
- configMapRef:
name: common-config
- configMapRef:
name: goal-service-config
- secretRef:
name: common-secret
resources:
requests:
cpu: 256m
memory: 256Mi
limits:
cpu: 1024m
memory: 1024Mi
ports:
- containerPort: 8084
startupProbe:
httpGet:
path: /actuator/health
port: 8084
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /actuator/health
port: 8084
initialDelaySeconds: 60
periodSeconds: 15
readinessProbe:
httpGet:
path: /actuator/health
port: 8084
initialDelaySeconds: 10
periodSeconds: 5
@@ -0,0 +1,55 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: health-service
namespace: team1tier-healthsync-ns
spec:
replicas: 2
selector:
matchLabels:
app: health-service
template:
metadata:
labels:
app: health-service
spec:
imagePullSecrets:
- name: acr-secret
containers:
- name: health-service
image: acrhealthsync01.azurecr.io/team1tier/health-service:1.0.0
imagePullPolicy: Always
envFrom:
- configMapRef:
name: common-config
- configMapRef:
name: health-service-config
- secretRef:
name: common-secret
resources:
requests:
cpu: 256m
memory: 256Mi
limits:
cpu: 1024m
memory: 1024Mi
ports:
- containerPort: 8082
startupProbe:
httpGet:
path: /actuator/health
port: 8082
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /actuator/health
port: 8082
initialDelaySeconds: 60
periodSeconds: 15
readinessProbe:
httpGet:
path: /actuator/health
port: 8082
initialDelaySeconds: 10
periodSeconds: 5
@@ -0,0 +1,78 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: intelligence-service
namespace: team1tier-healthsync-ns
spec:
replicas: 2
selector:
matchLabels:
app: intelligence-service
template:
metadata:
labels:
app: intelligence-service
spec:
imagePullSecrets:
- name: acr-secret
containers:
- name: intelligence-service
image: acrhealthsync01.azurecr.io/team1tier/intelligence-service:1.0.0
imagePullPolicy: Always
envFrom:
- configMapRef:
name: common-config
- configMapRef:
name: intelligence-service-config
- secretRef:
name: common-secret
- secretRef:
name: intelligence-secret
env:
- name: CLAUDE_API_KEY
valueFrom:
secretKeyRef:
name: intelligence-secret
key: CLAUDE_API_KEY
- name: CLAUDE_API_URL
valueFrom:
secretKeyRef:
name: intelligence-secret
key: CLAUDE_API_URL
- name: CLAUDE_MODEL
valueFrom:
secretKeyRef:
name: intelligence-secret
key: CLAUDE_MODEL
- name: CLAUDE_MAX_TOKENS
valueFrom:
secretKeyRef:
name: intelligence-secret
key: CLAUDE_MAX_TOKENS
resources:
requests:
cpu: 256m
memory: 256Mi
limits:
cpu: 1024m
memory: 1024Mi
ports:
- containerPort: 8083
startupProbe:
httpGet:
path: /actuator/health
port: 8083
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /actuator/health
port: 8083
initialDelaySeconds: 60
periodSeconds: 15
readinessProbe:
httpGet:
path: /actuator/health
port: 8083
initialDelaySeconds: 10
periodSeconds: 5
@@ -0,0 +1,57 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: motivator-service
namespace: team1tier-healthsync-ns
spec:
replicas: 2
selector:
matchLabels:
app: motivator-service
template:
metadata:
labels:
app: motivator-service
spec:
imagePullSecrets:
- name: acr-secret
containers:
- name: motivator-service
image: acrhealthsync01.azurecr.io/team1tier/motivator-service:1.0.0
imagePullPolicy: Always
envFrom:
- configMapRef:
name: common-config
- configMapRef:
name: motivator-service-config
- secretRef:
name: common-secret
- secretRef:
name: servicebus-secret
resources:
requests:
cpu: 256m
memory: 256Mi
limits:
cpu: 1024m
memory: 1024Mi
ports:
- containerPort: 8085
startupProbe:
httpGet:
path: /actuator/health
port: 8085
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /actuator/health
port: 8085
initialDelaySeconds: 60
periodSeconds: 15
readinessProbe:
httpGet:
path: /actuator/health
port: 8085
initialDelaySeconds: 10
periodSeconds: 5
@@ -0,0 +1,77 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: user-service
namespace: team1tier-healthsync-ns
spec:
replicas: 2
selector:
matchLabels:
app: user-service
template:
metadata:
labels:
app: user-service
spec:
imagePullSecrets:
- name: acr-secret
containers:
- name: user-service
image: acrhealthsync01.azurecr.io/team1tier/user-service:1.0.0
imagePullPolicy: Always
envFrom:
- configMapRef:
name: common-config
- configMapRef:
name: user-service-config
- secretRef:
name: common-secret
env:
# Google OAuth 관련 환경변수
- name: GOOGLE_OAUTH_CLIENT_ID
valueFrom:
secretKeyRef:
name: google-oauth-secret
key: GOOGLE_OAUTH_CLIENT_ID
- name: GOOGLE_OAUTH_JAVASCRIPT_ORIGINS
valueFrom:
secretKeyRef:
name: google-oauth-secret
key: GOOGLE_OAUTH_JAVASCRIPT_ORIGINS
- name: GOOGLE_TOKEN_VERIFY_URL
valueFrom:
secretKeyRef:
name: google-oauth-secret
key: GOOGLE_TOKEN_VERIFY_URL
- name: GOOGLE_USERINFO_URL
valueFrom:
secretKeyRef:
name: google-oauth-secret
key: GOOGLE_USERINFO_URL
resources:
requests:
cpu: 256m
memory: 256Mi
limits:
cpu: 1024m
memory: 1024Mi
ports:
- containerPort: 8081
startupProbe:
httpGet:
path: /actuator/health
port: 8081
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /actuator/health
port: 8081
initialDelaySeconds: 60
periodSeconds: 15
readinessProbe:
httpGet:
path: /actuator/health
port: 8081
initialDelaySeconds: 10
periodSeconds: 5