[kubernetes-users] Re: Kubernetes Upgrade from 1.3.6 to 1.5.2 Without Bringing a HA enabled Cluster down

2017-03-06 Thread krmayankk
Ping ? Any pointers to where this is documented would be useful to show to the team or if it doesnt exist i can open an issue -Mayank On Friday, March 3, 2017 at 12:49:53 AM UTC-8, krma...@gmail.com wrote: > > Thanks Filip for answering those. Its great information. > -- Is this documented

[kubernetes-users] Re: local LoadBalancer/Service in Minikube

2017-03-06 Thread Warren Strange
If you are using VirtualBox with minikube, it will mount the /Users/xxx/ folder in the VM. You can use a hostPath volume to mount a local folder on your mac on to a pod volume. hostPath: path: /Users/my-username/Downloads/example On Friday, March 3, 2017 at 7:22:32 PM UTC-7, Imran Akbar

Re: [kubernetes-users] Can I create a service of LoadBalancer type in my on-prem K8s cluster?

2017-03-06 Thread Sverrir Berg
Ingress allows you to map host name or /path to a particular service (you can think of it as a software load balancer). This assumes you have one incoming port and service that handles the routing of requests for you. You basically set up one external load balancer to this one service. The

Re: [kubernetes-users] Can I create a service of LoadBalancer type in my on-prem K8s cluster?

2017-03-06 Thread Qian Zhang
Thanks Murali. Can you please elaborate a bit more about the difference between ingress and service of LoadBalancer type? E.g., in which case should I use which one? Thanks, Qian Zhang On Mon, Mar 6, 2017 at 7:56 PM, Murali-Reddy < murali.re...@cloudnativelabs.net> wrote: > > Qian, Have you

Re: [kubernetes-users] Can I create a service of LoadBalancer type in my on-prem K8s cluster?

2017-03-06 Thread Rodrigo Campos
No, I'm on my phone now. But doc about the service should explain (it used to, at least) how they build one over the other. On Monday, March 6, 2017, Qian Zhang wrote: > Thanks Tim and Rodrigo for your kindly reply! > > To Tim, did you mean I should implement a cloud

Re: [kubernetes-users] Can I create a service of LoadBalancer type in my on-prem K8s cluster?

2017-03-06 Thread Murali-Reddy
Qian, Have you considered the option of ingress resource? there are readily availiable ingress controllers like nginx, traefik etc you can use on-prem. thanks. On Monday, March 6, 2017 at 3:15:03 PM UTC+5:30, Qian Zhang wrote: > > Thanks Sverrir! So for the well-known cloud providers which are

Re: [kubernetes-users] Can I create a service of LoadBalancer type in my on-prem K8s cluster?

2017-03-06 Thread Sverrir Berg
Yes exactly, you do not use the built in providers at all in this case. You just run your own LB service as part of your cluster. I will see what I can do with a blog! Sverrir On Mon, Mar 6, 2017 at 9:44 AM, Qian Zhang wrote: > Thanks Sverrir! So for the well-known cloud

Re: [kubernetes-users] Can I create a service of LoadBalancer type in my on-prem K8s cluster?

2017-03-06 Thread Qian Zhang
Thanks Sverrir! So for the well-known cloud providers which are already supported by K8s (e.g., AWS, GCE), we can just use the built-in service controller in kube-controller-manager. But for a custom cloud provider which has not been supported by K8s yet, we should write a daemon like what you did

Re: [kubernetes-users] Can I create a service of LoadBalancer type in my on-prem K8s cluster?

2017-03-06 Thread Sverrir Berg
Hi Qian, No this is actually not that involved. I have implemented this in Qstack (my companies on-prem infrastructure management tool). I used the Kubernetes python library (https://pypi.python.org/pypi/kubernetes/1.0.0) to create a service (that I then of course deployed to my cluster as part