On Friday, 16 March 2018 17:09:05 UTC+5:30, ma...@google.com  wrote:
> On Monday, December 11, 2017 at 4:53:06 PM UTC, bibinw...@gmail.com wrote:
> > Hi Karol.
> > 
> > Now GKE has kubernetes 1.8 Version. Is custom metrics supported in GKE now? 
> > IF yes, could you share some doc that I can follow for setting up custom 
> > metrics.
> 
> Hi,
> 
> On GKE we have been supporting HPA with custom metrics since version 1.9. If 
> you have a group of horizontally autoscaled pods inside your cluster each 
> exporting a custom metric then you can set an average per pod target for that 
> metric.
> 
> An example of that would be an autoscaled deployment of a frontend where each 
> replica exports its current QPS. One could set the average target of QPS per 
> frontend pod and use the HPA to scale the deployment up and down accordingly. 
> You can find the documentation and a tutorial explaining how to set this up 
> here: 
> https://cloud.google.com/kubernetes-engine/docs/tutorials/custom-metrics-autoscaling
> 
> Kubernetes 1.10 becoming available on GKE will extend the support for custom 
> metrics to include metrics not attached to any Kubernetes object. This will 
> give you the ability to scale a deployment based on any metric listed here, 
> for example number of messages in Google Pub/Sub queue.
> 
> Best,

Hi We need to implement HPA in a similar way as you've mentioned, to Autoscale 
according to the number of messages/publish rates in a message broker 
(RabbitMQ). Will that be possible with some effort to do this on GKE 1.9 or do 
we need to wait until 1.10 is available?

-- 
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.
  • [kubernetes... Doug Tangren
    • Re: [k... 'Filip Grzadkowski' via Kubernetes user discussion and Q&A
      • Re... 'Karol Wychowaniec' via Kubernetes user discussion and Q&A
        • ... bibinwilsonn
          • ... maks via Kubernetes user discussion and Q&A
            • ... rajitha . k

Reply via email to