mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 08:06:25 +00:00
event-service Kafka Snappy 압축 오류 수정 및 설정 개선
- Dockerfile에 gcompat 패키지 추가하여 Snappy 네이티브 라이브러리 지원 - application.yml에 AI Service Feign Client URL 설정 추가 - deployment.yaml 수정: * 이미지 태그를 latest에서 dev로 변경 * Health check 경로 수정 (/api/v1/events/actuator → /api/v1/actuator) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9ce62738a1
commit
c66decce42
@ -19,7 +19,7 @@ spec:
|
|||||||
- name: kt-event-marketing
|
- name: kt-event-marketing
|
||||||
containers:
|
containers:
|
||||||
- name: event-service
|
- name: event-service
|
||||||
image: acrdigitalgarage01.azurecr.io/kt-event-marketing/event-service:latest
|
image: acrdigitalgarage01.azurecr.io/kt-event-marketing/event-service:dev
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
@ -42,21 +42,21 @@ spec:
|
|||||||
memory: "1024Mi"
|
memory: "1024Mi"
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/v1/events/actuator/health
|
path: /api/v1/actuator/health
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
failureThreshold: 30
|
failureThreshold: 30
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/v1/events/actuator/health/readiness
|
path: /api/v1/actuator/health/readiness
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/v1/events/actuator/health/liveness
|
path: /api/v1/actuator/health/liveness
|
||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|||||||
@ -7,6 +7,9 @@ RUN java -Djarmode=layertools -jar app.jar extract
|
|||||||
FROM eclipse-temurin:21-jre-alpine
|
FROM eclipse-temurin:21-jre-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install glibc compatibility for Snappy native library
|
||||||
|
RUN apk add --no-cache gcompat
|
||||||
|
|
||||||
# Create non-root user
|
# Create non-root user
|
||||||
RUN addgroup -S spring && adduser -S spring -G spring
|
RUN addgroup -S spring && adduser -S spring -G spring
|
||||||
USER spring:spring
|
USER spring:spring
|
||||||
|
|||||||
@ -141,6 +141,10 @@ feign:
|
|||||||
distribution-service:
|
distribution-service:
|
||||||
url: ${DISTRIBUTION_SERVICE_URL:http://localhost:8085}
|
url: ${DISTRIBUTION_SERVICE_URL:http://localhost:8085}
|
||||||
|
|
||||||
|
# AI Service Client
|
||||||
|
ai-service:
|
||||||
|
url: ${AI_SERVICE_URL:http://ai-service/api/v1/ai}
|
||||||
|
|
||||||
# Application Configuration
|
# Application Configuration
|
||||||
app:
|
app:
|
||||||
kafka:
|
kafka:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user