We want our deployment to have 3/6/9/etc replicas at all times to have an even AZ spread. Is there a way to achieve this via HPA config ?
Kubernetes HorizontalPodAutoscaler Scale in multiples of 3
162 Views Asked by grosser At
1
There are 1 best solutions below
Related Questions in KUBERNETES
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- I can't create a pod in minikube on windows
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Summarize pods not running, by Namespace and Reason - I'm having trouble finding the reason
- How to get Java running parameters from Spring Boot running inside container in pod where no ps exist
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- In rke kube-proxy pod is not present
- problem with edge server registration in Eureka
- Unable to Access Kubernetes LoadBalancer Service from Local Device Outside Cluster
- Kubernetes cluster on GCE connection refused error
- Based on my experience, I've outlined the Kubernetes request flow. Could someone please add or highlight any points I might have overlooked?
- how to define StackGres helm chart "restapi" values to use internal LoadBalancer - AWS EKS
- Python3.11 can't open file [Errno 2] No such file or directory
- Cannot find remote pod service - SERVICE_UNAVAILABLE
Related Questions in HORIZONTAL-SCALING
- Quartz Clustering in Enterprise Applications
- Entity Framework caching with ASP.NET horizontal scale
- How to setup dynamic load balancing (like in activeMQ) in IBM MQ using message grouping
- I have python django backend for webscarpping project. As input i give the website name and it scrapes data. But it takes too long time. How to scale?
- How to horizontally scale scheduler application which can dynamically create and delete cron schedules
- Horizontal scaling Asp.Net MVC5 Framework
- HorizontalPodAutoscaler deployment fails post GKE upgrade to 1.26
- How does horizontal scaling work if you only have a monolith database?
- Kubernetes autofill available resources
- How to horizontaly scale graphana?
- Optimising feedback forms backend design for gaming applications
- How does google process 600K documents in .33 seconds?
- Does mongodb sharded collection's performance deteriorate as the number of shards grow?
- Sharding in MongoDB by location but don't query with it
- Rails horizontal sharding doesn't work with unknown shard argument error on rails 6.1.7.2
Related Questions in HPA
- Horizontal Pod Autoscaler with Stackdriver Custom Metric in GKE fails with "Invalid metric name" error
- How do I use Horizontal Pod Autoscaling in Kubernetes with an external/custom metric?
- Trino application to release the memory within few mins
- Not able to implement HPA on the AWS EKS Fargate because of an issue on the metric server
- Node JS MYSQL Create Pool not releasing DB connections once K8s PODs scaled down by HPA
- Flink Kubernetes deployment - the HPA controller was unable to get a selector
- HorizontalPodAutoscaler manifest not filtering metricSelector.matchLabels
- Helm tries to deploy HPA, despite it being explicitly disabled
- Why I am not able to scale down my HPA based on the stabilization window parameter in the AWS EKS cluster?
- Horizontal Pod Autoscaler for two deployments and same pod
- control which replicaset is scaled up during HPA scaling in kubernetes
- How to alert when specific HPA's desiredReplicas is not equal to currentReplicas
- Is there a way to use rollout as a ScaledObject in Keda?
- TaskManagers not scaling in flink Session Deployment using HPA
- What is the Istio sidecar containers resource requirement and how can be calculated?
Related Questions in HORIZONTAL-POD-AUTOSCALING
- HorizontalPodAutoscaler manifest not filtering metricSelector.matchLabels
- TaskManagers not scaling in flink Session Deployment using HPA
- How to disable autoscaler while deploying a new application in Kubernetes
- Flink autoscaler and Kafka sources: what metrics does it use to scale?
- Horizontal Pod Autoscaling in Kubernetes Google Cloud with custom metric
- Karpenter node/machine creation metrics not present on karpenter.karpenter.svc.cluster.local:8000/metrics on scaling up
- Recommended setting for HorizontalPodAutoscaler's averageUtilization in Kubernetes?
- KEDA scaledown event take 5 minute
- Need a way to temporarily disable HPA
- Trouble with Prometheus metrics (Adapter and metricsQuery)
- Keda ScaledObject metric data differs from Prometheus
- How to setup pod autoscaler on GCP GKE based on value from other server?
- Limit one container to handling only 1 request at the time in Azure Kubernetes Services
- Kubernetes: when Horizontal Autocaling happens, only Log from 1 pod is written & logs from 2 auto scaled pods are not printed
- Application server log are exact replica, when there are more than 1 pods in Kubernetes Horizontal Pod Autoscaler
Related Questions in HORIZONTALPODAUTOSCALER
- Horizontal Pod Autoscaling in Kubernetes Google Cloud with custom metric
- Is there a simpler cronjob for keeping a cluster up only during workday hours?
- keda-operator-metrics-apiserver: no matching metrics found for s0-prometheus-http_requests_in_progress
- Kubernetes HorizontalPodAutoscaler Scale in multiples of 3
- No matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2" when installing knative serving
- How to get last updated date for k8s hpa?
- What is the unit of lower case "m" and "k" in the image below?
- Why is there an error in Horizontal Pod Autoscaler Yaml?
- What is the "status" in the autoscaler yaml in k8s?
- Pulumi: how to correctly use HorizontalPodAutoscaler
- How does the scale function in Kubernetes ensure that the current task or request is completed when scaling down?
- HorizontalPodAutoscaler scales up pods but then terminates them instantly
- AKS - Pods created by HPA trigger are getting terminated immediately after they are created
- kubernetes does not deploy HorizontalPodAutoscaler when applied within range
- How to scale my app on nginx metrics without prometheus?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use the Scaling policy with the HPA
Example
it will add the 3 PODs every 5 second until HPA metrics become steady.
Ref doc : https://github.com/kubernetes/enhancements/blob/master/keps/sig-autoscaling/853-configurable-hpa-scale-velocity/README.md