Re: [kubernetes-users] Liveness probe: specify 401 is OK

2016-12-15 Thread Rodrigo Campos
Ans what do you do with the readiness probe? I mean, 401 might not be a good indication that is ready and you may want and endpoint without auth just for it. On Thursday, December 15, 2016, Adam Daughterson wrote: > Because the request requires authentication, and a 401 is a good indicator > th

Re: [kubernetes-users] Liveness probe: specify 401 is OK

2016-12-15 Thread
No promises, but it doesn't seem unreasonable to me... On Thu, Dec 15, 2016 at 1:30 PM, Adam Daughterson wrote: > Will do, thanks for the quick response! > > On Thu, Dec 15, 2016 at 2:10 PM, 'Tim Hockin' via Kubernetes user discussion > and Q&A wrote: >> >> Please file a github feature request >

Re: [kubernetes-users] Re: nginx ingress controller configuration on Kubernetes vagrant

2016-12-15 Thread Aaron Levy
This very likely has to do with HostPorts not working when CNI network plugins are used. In the case of the CoreOS installation instructions, we do make use of CNI (for flannel/calico). See this issue for more detail: https://github.com/kubernetes/kubernetes/issues/23920 Essentially what is ha

Re: [kubernetes-users] Liveness probe: specify 401 is OK

2016-12-15 Thread Adam Daughterson
Will do, thanks for the quick response! On Thu, Dec 15, 2016 at 2:10 PM, 'Tim Hockin' via Kubernetes user discussion and Q&A wrote: > Please file a github feature request > > On Thu, Dec 15, 2016 at 1:08 PM, Adam Daughterson > wrote: > > Because the request requires authentication, and a 401 is

Re: [kubernetes-users] How can I prevent kube-system pods (kube-proxy, kube-dns, google-fluentd) from being evicted in GKE running k8s 1.4.5

2016-12-15 Thread
https://github.com/kubernetes/kubernetes/issues/38322 On Thu, Dec 15, 2016 at 10:26 AM, 'Tim Hockin' via Kubernetes user discussion and Q&A wrote: > We're working on a proposal to mitigate this short-term. > > > > On Thu, Dec 15, 2016 at 8:11 AM, Giovanni Tirloni > wrote: > > I would start by

Re: [kubernetes-users] Re: nginx ingress controller configuration on Kubernetes vagrant

2016-12-15 Thread Brandon Philips
On Thu, Dec 15, 2016 at 3:30 PM Mugdho Debnath wrote: > This works pretty well if you move from using CoreOS to Ubuntu (or any > other linux distro) VMs. From the bit of digging that I did, it seems that > nginx / traefix is not opening the required port on CoreOS for some reason. > Odd. Adding

Re: [kubernetes-users] Liveness probe: specify 401 is OK

2016-12-15 Thread
Please file a github feature request On Thu, Dec 15, 2016 at 1:08 PM, Adam Daughterson wrote: > Because the request requires authentication, and a 401 is a good indicator > that the microservice is running. > It would be nice to be able to customize it. > > Thanks! > > On Wed, Dec 14, 2016 at 11:

Re: [kubernetes-users] Liveness probe: specify 401 is OK

2016-12-15 Thread Adam Daughterson
Because the request requires authentication, and a 401 is a good indicator that the microservice is running. It would be nice to be able to customize it. Thanks! On Wed, Dec 14, 2016 at 11:46 AM, 'Tim Hockin' via Kubernetes user discussion and Q&A wrote: > No, the probes look specifically for 2

Re: [kubernetes-users] Re: nginx ingress controller configuration on Kubernetes vagrant

2016-12-15 Thread Mugdho Debnath
This works pretty well if you move from using CoreOS to Ubuntu (or any other linux distro) VMs. From the bit of digging that I did, it seems that nginx / traefix is not opening the required port on CoreOS for some reason. On Wed, Dec 14, 2016 at 3:19 PM Yuriy Filonov wrote: > Unfortunately, I wa

Re: [kubernetes-users] How can I prevent kube-system pods (kube-proxy, kube-dns, google-fluentd) from being evicted in GKE running k8s 1.4.5

2016-12-15 Thread
We're working on a proposal to mitigate this short-term. On Thu, Dec 15, 2016 at 8:11 AM, Giovanni Tirloni wrote: > I would start by reviewing the eviction policy to ensure thresholds > aren't too low. > > This article has more information about best practices and > troubleshooting tips: http:/

Re: [kubernetes-users] kubernetes-redis-cluster- hard coded clusterIP in service definition

2016-12-15 Thread Giovanni Tirloni
On Tue, Dec 6, 2016 at 7:07 PM, wrote: > > Hello guys - I am trying to build a redis cluster on k8s using > https://github.com/kelseyhightower/kubernetes-redis-cluster > > I see hard-coded clusterIP values e.g. clusterIP: "10.131.242.1" > I tried to assign clusterIP based on the pods ip kubectl

Re: [kubernetes-users] Regarding Heapster configuration in RHEL 7.1

2016-12-15 Thread Giovanni Tirloni
I have not deployed that configuration myself, but the Service definition is requesting a NodePort: https://github.com/kubernetes/heapster/blob/master/deploy/kube-config/influxdb/grafana-service.yaml#L15-L18 More about NodePort here: http://kubernetes.io/docs/user-guide/services/#type-nodeport

Re: [kubernetes-users] How can I prevent kube-system pods (kube-proxy, kube-dns, google-fluentd) from being evicted in GKE running k8s 1.4.5

2016-12-15 Thread Giovanni Tirloni
I would start by reviewing the eviction policy to ensure thresholds aren't too low. This article has more information about best practices and troubleshooting tips: http://kubernetes.io/docs/admin/out-of-resource/ On Tue, Dec 13, 2016 at 10:16 AM, Philip Feairheller wrote: > Hello- > > We've b

[kubernetes-users] Kubernetes and NetworkManager

2016-12-15 Thread Giovanni Tirloni
Hi, I remember reading something about Kubernetes not working correctly on hosts with NetworkManager. We went along and continued to use the 'network' service with our CentOS hosts. Today I was looking for that information and I can't find it anywhere. I suspect my memory might be playing a tri

[kubernetes-users] Re: How to set up heapster build environment / dependencies

2016-12-15 Thread mvaniersel
Hello, With some effort, I figured it out myself. I'll reply my own question here for future reference: The thing that made the difference is to use the right directory structure. If you check out a working copy of the heapster code below $GOPATH/src/k8s.io/heapster, things work smoothly. Perh