mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
18 lines
566 B
YAML
18 lines
566 B
YAML
apiVersion: autoscaling/v1
|
|
kind: HorizontalPodAutoscaler
|
|
metadata:
|
|
annotations:
|
|
autoscaling.alpha.kubernetes.io/conditions: '[{"type":"AbleToScale","status":"False","lastTransitionTime":"2020-11-23T19:38:38Z","reason":"SucceededGetScale","message":"the HPA controller was not able to get the target''s current scale"}]'
|
|
name: sample
|
|
namespace: argocd
|
|
spec:
|
|
maxReplicas: 1
|
|
minReplicas: 1
|
|
scaleTargetRef:
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
name: sample
|
|
targetCPUUtilizationPercentage: 2
|
|
status:
|
|
currentReplicas: 1
|
|
desiredReplicas: 0 |