Files
tia_regional_xai_tts_pool/k8s/regional/rendered/hpa-iad.yaml
2026-08-21 09:44:08 -03:00

33 lines
719 B
YAML

apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: tim-ai-atend-agnt-integ-tia-iad
namespace: agnt-ai-atendimento
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: tim-ai-atend-agnt-integ-tia-iad
minReplicas: 1
maxReplicas: 3
behavior:
scaleUp:
stabilizationWindowSeconds: 0
policies:
- type: Percent
value: 100
periodSeconds: 60
scaleDown:
stabilizationWindowSeconds: 300
policies:
- type: Percent
value: 25
periodSeconds: 60
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 65