Help me check KEDA Created HPA Status #5987
Unanswered
yuangeqingian
asked this question in
Q&A / Need Help
Replies: 1 comment
-
Hello |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
AKS Version: 1.29.2
KEDA Version: 2.12.1
I created scaleobject for deployment, and it also creates hpa.
scaleobject yaml:
`apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
finalizers:
name: scaledobject-aa-linux-agent
namespace: ddceado
resourceVersion: "82626226"
uid: a36a752c-5acb-4724-a82a-8e0834714c67
spec:
advanced:
horizontalPodAutoscalerConfig:
behavior:
scaleDown:
policies:
- periodSeconds: 30
type: Percent
value: 100
stabilizationWindowSeconds: 300
restoreToOriginalReplicaCount: true
scalingModifiers: {}
cooldownPeriod: 300
fallback:
failureThreshold: 3
replicas: 6
idleReplicaCount: 0
maxReplicaCount: 15
minReplicaCount: 1
pollingInterval: 5
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: aa-linux-agent
triggers:
name: triggerauth-aa-linux-agent
metadata:
demands: ddce-aa-linux-agent,java
organizationURLFromEnv: AZP_URL
poolName: BGC-DDCE-Agent
type: azure-pipelines
hpaName: keda-hpa-scaledobject-aa-linux-agent
originalReplicaCount: 1
scaleTargetGVKR:
group: apps
kind: Deployment
resource: deployments
version: v1
scaleTargetKind: apps/v1.Deployment`
The created HPA target showed unknown, don't know if the status is ok.
NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE keda-hpa-scaledobject-aa-linux-agent Deployment/aa-linux-agent <unknown>/1 (avg) 1 15 0 44d
Can you please help check targets showed unknown status. is there any issue on the new installed HPA
Beta Was this translation helpful? Give feedback.
All reactions