-- Filip On Tue, Sep 19, 2017 at 3:54 PM, Rodrigo Campos <rodrig...@gmail.com> wrote:
> I think this can probably be done using custom metrics: > https://kubernetes.io/docs/tasks/run-application/ > horizontal-pod-autoscale/#support-for-custom-metrics > > I have not used custom metrics, so it's not something I really know about > :-) > > On Tuesday, September 19, 2017, Parth Gandhi <parth6...@gmail.com> wrote: > >> Hi, >> we have an console application running in the pods in kubernetes cluster. >> We have a DB table that keeps the count of incoming queue messages. We need >> to autoscale the pods when the table reaches certain threshold values. can >> this be achieved using k8s HPA? or do we need to write a different logic >> for this? >> >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Kubernetes user discussion and Q&A" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to kubernetes-users+unsubscr...@googlegroups.com. >> To post to this group, send email to kubernetes-users@googlegroups.com. >> Visit this group at https://groups.google.com/group/kubernetes-users. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.