Kubernetes Horizontal Pod Autoscaler (also HPA) automatically scales the number of pods in a replication controller, deployment or replica set based on observed resource metrics or custom metrics.
Questions tagged [kubernetes-hpa]
36 questions
0
votes
1 answer
HPA auto-scaling at deployment based on HTTP requests count
I have an issue with HPA configuration, based on HTTP requests rate. I am using a rate based on a Prometheus metric - sum(rate(http_server_requests_seconds_count[5m])) - but at start-up HPA is auto-scaling to the maximum number of pods despite no…

James Hargreaves
- 1
- 2
0
votes
0 answers
Kubernetes Custom Autoscaler Prometheus Adapter Scaling Up Incorrectly
We are using prometheus adapter to allow for custom metric auto scaling in k8s. We have everything setup where the HPA is getting the metric but it is exhibiting improper scale up even when the metric is below the target.
Polling the metric api…

user2434674
- 520
- 1
- 8
- 19
0
votes
1 answer
Custom metric API server not in Go
I want to implement custom metric API server to use with HPA. we have proprietary monitoring system that have client library in C# but all the implementation i saw online are in Go.
Is there a definition of REST API (request and response) that the…

b k
- 195
- 1
- 7
0
votes
2 answers
Kubernetes autoscaling not working - showing unkown
There are a lot of questions about this topic and I tried a lot of stuff but it's still not working.
I'm new to Kubernetes. I have a Kubernetes Cluster with 2 Nodes (1 PC, 1 VM on a different PC), 1 Master, 1 Node. I started a website (Docker Image)…

Myridor
- 123
- 3
- 15
-1
votes
1 answer
Kubernetes : How to configure / implement HPA to use CPU for scaling
I'm new to Kubernetes. I've a application written in go language which has a /live endpoint. I need to run scale service based on CPU configuration. How can I implement HPA (horizontal pod autoscale) based on CPU configuration. Can someone help me?…

Sweta Sharma
- 2,404
- 4
- 21
- 36
-3
votes
1 answer
What happens to unprocessed messages in go channel on abrupt shutdown?
I have deployed a go application in kubernetes. My application has a go routine which continuously listens for messages from a kafka topic and push new messages into a go channel for further processing and commits kafka message. If I scale down the…

Michael
- 123
- 1
- 8