diff --git a/backend/src/kubernetes/kubernetes.service.ts b/backend/src/kubernetes/kubernetes.service.ts index 1f60ee5..45d591b 100644 --- a/backend/src/kubernetes/kubernetes.service.ts +++ b/backend/src/kubernetes/kubernetes.service.ts @@ -216,14 +216,15 @@ export class KubernetesService implements OnModuleInit { limits: { cpu: ctx.cpuLimit, memory: ctx.memoryLimit }, }, readinessProbe: { - httpGet: { path: '/health', port: ctx.port as any }, - initialDelaySeconds: 10, + tcpSocket: { port: ctx.port as any }, + initialDelaySeconds: 5, periodSeconds: 5, }, livenessProbe: { - httpGet: { path: '/health', port: ctx.port as any }, - initialDelaySeconds: 30, + tcpSocket: { port: ctx.port as any }, + initialDelaySeconds: 15, periodSeconds: 10, + failureThreshold: 5, }, }, ],