Re: [kubernetes-users] Re: GKE - HPA scaling based on custom metrics.

2018-02-05 Thread Raju Dawadi
HPA to scale Deployment based on the custom metrics is now available 
according to release note and tut: 
https://cloud.google.com/kubernetes-engine/docs/tutorials/custom-metrics-autoscaling
 
But still I couldn't figure out way to scale with metric like 
http_requests. Any suggestion? Thanks.

On Monday, January 29, 2018 at 10:31:14 PM UTC+5:45, Beata Skiba wrote:
>
> This should be available on alpha clusters starting from 1.9.2 release.
>
> On Saturday, January 27, 2018 at 10:45:55 AM UTC+1, parsi...@gmail.com 
> wrote:
>>
>> I tried to use this API today, it looks like 
>> `--horizontal-pod-autoscaler-use-rest-clients` is set to false because I'm 
>> getting the following error: `object metrics are not yet supported`. It 
>> means that I fall into legacy code here:
>>
>>
>> https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/podautoscaler/metrics/legacy_metrics_client.go#L176
>>
>> and REST interface is not used.
>>
>> If I use "Pods" instead of "Objects" it starts to work, but it is not 
>> what I'm looking for.
>>
>> My question is:
>> How to set `--horizontal-pod-autoscaler-use-rest-clients=true` on GKE?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q" 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.


Re: [kubernetes-users] How hostNetwork : true works with K8s Internal Services?

2018-02-05 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Kubernetes does not demand an overlay, and most of the overlays used
for kube employ some form of node gateway to allow packets to cross
between planes.

On Sat, Feb 3, 2018 at 12:59 PM, Chase  wrote:
> Hello - I am trying to understand how "hostNetwork: true" works with
> internal pod communication.  For example, if I create a daemonSet with
> hostNetwork : true and ClusterFirstWithHostNet should this pod be able to :
>
> 1.  Bind to the host network
> 2.  Communicate to services in the K8s network.
>
> The reason I ask is that in Docker if you bind to the host network you
> cannot communicate over the overlay network to other services.   It seems
> from reading the hostNetwork: true should works to allow both host and
> internal K8s communication.  Any explanation here would be great.
>
> Thanks
> Chase
>
> --
> You received this message because you are subscribed to the Google Groups
> "Kubernetes user discussion and Q" 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" 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-users] SIG Proposal - vSphere

2018-02-05 Thread Robbie Jerrom
I would like to propose the following sig.

Mission Statement
Maintaining, supporting, and using Kubernetes hosted on The VMware vSphere 
Platform.   Supporting best practice,  example deployments and integrations.

@kubernetes/sig-vsphere

Best regards,

Robbie Jerrom
Lead Solutions Architect - App Transformation and Cloud Native Platforms
+44 7715 890023 | rjer...@vmware.com | twitter: @RobbieJ |
VMware Inc, Flow 1 & 2, The Causeway, Staines-Upon-Thames |

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q" 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.


Re: [kubernetes-users] How hostNetwork : true works with K8s Internal Services?

2018-02-05 Thread 'Matthias Rampke' via Kubernetes user discussion and Q
Hey,

yes, I think this should work for any reasonable overlay. NodePorts are
also implemented essentially in the host network namespace, so if this
wouldn't work you would not have *any* way of getting traffic into the
cluster at least as far as I can see.

Of course, the best way to find out for your particular environment is to
try!

/MR

On Sat, Feb 3, 2018 at 8:59 PM Chase  wrote:

> Hello - I am trying to understand how "hostNetwork: true" works with
> internal pod communication.  For example, if I create a daemonSet with
> hostNetwork : true and ClusterFirstWithHostNet should this pod be able to
> :
>
> 1.  Bind to the host network
> 2.  Communicate to services in the K8s network.
>
> The reason I ask is that in Docker if you bind to the host network you
> cannot communicate over the overlay network to other services.   It seems
> from reading the hostNetwork: true should works to allow both host and
> internal K8s communication.  Any explanation here would be great.
>
> Thanks
> Chase
>
> --
> You received this message because you are subscribed to the Google Groups
> "Kubernetes user discussion and Q" 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" 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.