[kubernetes-users] pod migration if the node goes down

2018-08-06 Thread Niranjan Kolly
Hi, I have a K8 cluster with 3 master and 3 slave on centOS VM. we have installed KONG and cassandra with 3 replica each. As a part of the resiliency we brought down one node , but still the "kubectl get pods" command shows the pods running in that node showing up. As a K8 feature the master

[kubernetes-users] Atomic API requests

2018-08-06 Thread Craig Buchanan
Is it possible to send multiple API requests atomically to the Kubernetes master? Or do I need to implement rollback in my application code? E.g. I need to create a configmap, deployment, and service from an SDK. If any of these API requests fails for any reason, I would like to rollback and

Re: [kubernetes-users] What is the default 'name' of the kubernetes master cluster host?

2018-08-06 Thread Stephen Kong
Thanks. It works. But how do I found out the valid name for my influxDB?? I just discovered --sink=influxdb:http//*influxdb*:8086 is not valid... On Monday, August 6, 2018 at 12:48:32 PM UTC-4, Daniel Smith wrote: > > If you use the standard kube-dns add-on, you can refer to apiserver as >

Re: [kubernetes-users] pod migration if the node goes down

2018-08-06 Thread Rodrigo Campos
Feel free to search the documentation for the default values. But in my experience, it was never an issue (we don't have one replica of anything, though. So a single node going down is pretty tolerable) On Monday, August 6, 2018, Niranjan Kolly wrote: > Hi MR, > > What about any application

Re: [kubernetes-users] What is the default 'name' of the kubernetes master cluster host?

2018-08-06 Thread 'Daniel Smith' via Kubernetes user discussion and Q
If you use the standard kube-dns add-on, you can refer to apiserver as 'kubernetes.default.svc.cluster.local.' The port is 443. You could also use the ClusterIP of the service directly, as it is predictably going to be the first IP in the Service IP range, unless you've done some manual surgery

Re: [kubernetes-users] pod migration if the node goes down

2018-08-06 Thread Niranjan Kolly
Hi MR, What about any application which are running(like nginx) , what if the node goes down and how quick master would spin those pods in the available nodes(for load distribution) How to tweak the timeout in the contol manager. Thanks, Niranjan On Mon, Aug 6, 2018 at 1:12 PM, 'Matthias