Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 34792e3477 | |||
| 7c6968f84f | |||
| 20a2acf1d5 | |||
| ca3b0e2d66 | |||
| 6650126fb6 | |||
| 68cc05f103 | |||
| a79ed5cfbf | |||
| 02cde04265 | |||
| aeae292823 | |||
| c59bd321d9 | |||
| 301a17981e | |||
| 940fd18584 |
@ -1,31 +0,0 @@
|
|||||||
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
|
|
||||||
Loading…
x
Reference in New Issue
Block a user