mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 18:46:23 +00:00
각 서비스의 standalone deployment.yaml에서 probe 설정을 주석 처리 - kustomize base 설정을 사용하는 방향으로 통일 변경된 서비스: - ai-service - analytics-service - content-service - distribution-service - event-service - participation-service - user-service 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: analytics-service
|
|
namespace: kt-event-marketing
|
|
labels:
|
|
app: analytics-service
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: analytics-service
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: analytics-service
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: kt-event-marketing
|
|
containers:
|
|
- name: analytics-service
|
|
image: acrdigitalgarage01.azurecr.io/kt-event-marketing/analytics-service:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 8086
|
|
name: http
|
|
envFrom:
|
|
- configMapRef:
|
|
name: cm-common
|
|
- configMapRef:
|
|
name: cm-analytics-service
|
|
- secretRef:
|
|
name: secret-common
|
|
- secretRef:
|
|
name: secret-analytics-service
|
|
resources:
|
|
requests:
|
|
cpu: "256m"
|
|
memory: "256Mi"
|
|
limits:
|
|
cpu: "1024m"
|
|
memory: "1024Mi"
|
|
# startupProbe:
|
|
# httpGet:
|
|
# path: /api/v1/analytics/actuator/health/liveness
|
|
# port: 8086
|
|
# initialDelaySeconds: 60
|
|
# periodSeconds: 10
|
|
# failureThreshold: 30
|
|
# livenessProbe:
|
|
# httpGet:
|
|
# path: /api/v1/analytics/actuator/health/liveness
|
|
# port: 8086
|
|
# initialDelaySeconds: 0
|
|
# periodSeconds: 10
|
|
# failureThreshold: 3
|
|
# readinessProbe:
|
|
# httpGet:
|
|
# path: /api/v1/analytics/actuator/health/readiness
|
|
# port: 8086
|
|
# initialDelaySeconds: 0
|
|
# periodSeconds: 10
|
|
# failureThreshold: 3
|