Compare commits

..

1 Commits
dev ... main

Author SHA1 Message Date
c6734a48d9 add sapphire3 HTTPScaledObject 2026-07-14 20:01:48 +08:00
3 changed files with 31 additions and 3 deletions

View File

@ -1,3 +0,0 @@
# 1
DDDADATETETETETETE
IIIIIIIIq

0
ab
View File

View File

@ -0,0 +1,31 @@
apiVersion: http.keda.sh/v1alpha1
kind: HTTPScaledObject
metadata:
name: sapphire3-http-scaler
namespace: bj1-dcloud
spec:
hosts:
- annomidware.d-robotics.cc
pathPrefixes:
- /segmentation/sapphire3/v1/predict
# 目标 Deployment 及其对应的后端 Service
scaleTargetRef:
name: sapphire3
kind: Deployment
apiVersion: apps/v1
service: sapphire3-svc
port: 80
# 常驻 1 个副本,关闭缩容到 0,避免冷启动
replicas:
min: 1
max: 1
# 与现有 segment-http-scaler 保持一致
scalingMetric:
concurrency:
targetValue: 3
scaledownPeriod: 300
targetPendingRequests: 8