[kubernetes-users] Re: Updating ca.crt in service account secrets

2017-12-11 Thread Jordan Liggitt
The `--root-ca-file` parameter passed to kube-controller-manager is what determines the CA included in the service account token secret On Monday, December 11, 2017 at 4:18:17 AM UTC-5, a...@ntppool.org wrote: > > Our kubernetes API ca.crt (call it "inter") is signed by our internal root >

Re: [kubernetes-users] K8S Go Client: How do you list all the pods associated to a Service?

2017-12-11 Thread John Belamaric
Based on https://github.com/kubernetes/client-go/tree/master/examples/out-of-cluster-client-configuration the code below works. eps, err := clientset.CoreV1().Endpoints("default").List(metav1.ListOptions{FieldSelector:"metadata.name=kubernetes"}) Here is a simple program. For in-cluster you

Re: [kubernetes-users] K8S Go Client: How do you list all the pods associated to a Service?

2017-12-11 Thread Robert Buck
Such a query would look like? On Mon, Dec 11, 2017 at 3:48 PM John Belamaric wrote: > Ok, so you just need to query for the endpoints object with the same name > as your service (in the same namespace). This also allows you to > differentiate between ready and not ready

Re: [kubernetes-users] K8S Go Client: How do you list all the pods associated to a Service?

2017-12-11 Thread John Belamaric
Ok, so you just need to query for the endpoints object with the same name as your service (in the same namespace). This also allows you to differentiate between ready and not ready pods. On Dec 11, 2017, at 3:20 PM, Robert Buck > wrote:

Re: [kubernetes-users] K8S Go Client: How do you list all the pods associated to a Service?

2017-12-11 Thread Robert Buck
Endpoints would work. On Mon, Dec 11, 2017 at 11:25 AM John Belamaric wrote: > Are you sure you want pods and not endpoints? > > > On Dec 10, 2017, at 3:29 PM, buck.rober...@gmail.com wrote: > > > > On Sunday, December 10, 2017 at 2:42:02 PM UTC-5, buck.r...@gmail.com >

Re: [kubernetes-users] Re: Removing RabbitMQ by using Kubernete Services

2017-12-11 Thread Rodrigo Campos
Basically, it's not possible to do it with just a service. Service does not queue nor persist, so those guarantees that you just mention are not possible with just a service. The idea of the service is to expose pods to other pods or the internet, so you can connect easily (and not worry about

Re: [kubernetes-users] the custom metrics story on gke

2017-12-11 Thread bibinwilsonn
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. -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q" group. To

Re: [kubernetes-users] K8S Go Client: How do you list all the pods associated to a Service?

2017-12-11 Thread John Belamaric
Are you sure you want pods and not endpoints? > On Dec 10, 2017, at 3:29 PM, buck.rober...@gmail.com wrote: > > On Sunday, December 10, 2017 at 2:42:02 PM UTC-5, buck.r...@gmail.com wrote: >> Given a namespace name, and a service name, I'd like to use the In-Cluster >> Golang API to list the

[kubernetes-users] Re: Removing RabbitMQ by using Kubernete Services

2017-12-11 Thread bluemmb22
Thanks. We are using RabbitMQ for queuing jobs and celery workers that are in docker service as consumers of those jobs. -- 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

[kubernetes-users] Re: Removing RabbitMQ by using Kubernete Services

2017-12-11 Thread 'Brian Grant' via Kubernetes user discussion and Q
Hi! I'm redirecting this message to kubernetes-users, since kubernetes-dev is for discussion about development of kubernetes itself. More information about which features of RabbitMQ you are using would be helpful: queuing, routing, persistence, confirmation, routing, ... Services load balance,

[kubernetes-users] GlusterFS plugin for Kubernetes

2017-12-11 Thread bozic . bostjann
Hello! I am using GlusterFS as persistent storage for my containers, that are deployed via Kubernetes. What I saw is that with redeployment of same container, file stats change from container perspective (in particular Device ID). Examples below: - Deploy 1: Device: edh/237d Inode:

Re: [kubernetes-users] how to pass kubernetes pods arguments like Docker arguments from command line

2017-12-11 Thread 'Matt Brown' via Kubernetes user discussion and Q
Henry, to go back to the root of your question, I don't think you are having a problem with Docker or Kubernetes or the Datastax driver. Your problem fundamentally is how to tell your application what IP and port to connect to for the Cassandra host(s). You get a NoHostAvailableException

[kubernetes-users] Updating ca.crt in service account secrets

2017-12-11 Thread ask via Kubernetes user discussion and Q
Our kubernetes API ca.crt (call it "inter") is signed by our internal root (call it "root"). Until now ca.crt for the kubelets / apiserver was only configured with "inter". I want to add the "root" to "ca.crt" in the service account secrets. When I edit a secret to add it, it's reverted back

Re: [kubernetes-users] Tainting preemptible node pools on GKE

2017-12-11 Thread Lorenzo D
Now work as expected. I tried several times in the last 4 days and nodes had never become "ready" Sorry about that. > On 11 Dec 2017, at 08:21, 'David Oppenheimer' via Kubernetes user discussion > and Q wrote: > > Can you do "kubectl describe pod" on one of