mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
apiVersion: autoscaling/v2beta2
|
|
kind: HorizontalPodAutoscaler
|
|
metadata:
|
|
creationTimestamp: '2020-08-07T00:13:31Z'
|
|
name: credential-hpa
|
|
uid: 04d9992e-a849-4cce-9e1e-121a62d5c001
|
|
spec:
|
|
maxReplicas: 1
|
|
metrics:
|
|
- resource:
|
|
name: cpu
|
|
target:
|
|
averageUtilization: 65
|
|
type: Utilization
|
|
type: Resource
|
|
minReplicas: 1
|
|
scaleTargetRef:
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Rollout
|
|
name: credential-rollout
|
|
status:
|
|
conditions:
|
|
- lastTransitionTime: '2020-08-07T00:13:46Z'
|
|
message: recommended size matches current size
|
|
reason: ReadyForNewScale
|
|
status: 'True'
|
|
type: AbleToScale
|
|
- lastTransitionTime: '2020-12-12T07:13:46Z'
|
|
message: >-
|
|
the HPA was able to successfully calculate a replica count from cpu
|
|
resource utilization (percentage of request)
|
|
reason: ValidMetricFound
|
|
status: 'True'
|
|
type: ScalingActive
|
|
- lastTransitionTime: '2020-12-09T23:28:43Z'
|
|
message: the desired count is within the acceptable range
|
|
reason: DesiredWithinRange
|
|
status: 'False'
|
|
type: ScalingLimited
|
|
currentMetrics:
|
|
- resource:
|
|
current:
|
|
averageUtilization: 27
|
|
averageValue: 195m
|
|
name: cpu
|
|
type: Resource
|
|
currentReplicas: 1
|
|
desiredReplicas: 1
|
|
lastScaleTime: '2020-08-07T00:13:46Z'
|