[kubernetes-users] Failure to programmatically exec into containers

2017-07-14 Thread Shrinand Javadekar
Hi, I was using the python websocket client library (version 0.37.0) to exec into a container. On my Kubernetes 1.4 cluster, my code was working just fine. However, when I upgraded to Kubernetes 1.6, my code doesn't work. It fails with a WebSocketBadStatusException. File "site-packages/websock

[kubernetes-users] Re: Kubernetes Nginx Ingress

2017-07-14 Thread aledbf
Please check the RBAC example https://github.com/kubernetes/ingress/tree/master/examples/rbac/nginx On Friday, July 14, 2017 at 1:58:59 PM UTC-4, Alex Hokanson wrote: > It seems wrong that I had to do this, but I was able to get working by adding > this to my yaml: > > ``` > > --- > > > api

[kubernetes-users] Re: Kubernetes Nginx Ingress

2017-07-14 Thread ken
On Friday, July 14, 2017 at 10:33:33 AM UTC-7, Alex Hokanson wrote: > I thought that the default service account in the default namespace allows > you to do about anything within that namespace? How can I debug this further? Nope, if you're using authorization-mode=RBAC, service accounts have no

[kubernetes-users] GKE master Logs

2017-07-14 Thread Henrique Truta
Hi all, I have a cluster running on GKE and I wonder if there is some way to get the logs of its components, such as api-server and controller-manager. Thanks, -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscri

[kubernetes-users] deploying helm chart to a specific instance-type

2017-07-14 Thread Norman Khine
Hello, I have setup a cluster using kops and have also created additional nodes, as per https://github.com/kubernetes/kops/blob/master/docs/instance_groups.md#creating-a-new-instance-group ➜ terraform git:(master) ✗ kops get instancegroups

[kubernetes-users] Re: Kubernetes Nginx Ingress

2017-07-14 Thread Alex Hokanson
It seems wrong that I had to do this, but I was able to get working by adding this to my yaml: ``` --- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: name: ingress-nginx-rbac subjects: - kind: ServiceAccount # Reference to upper's `metadata.name` nam

[kubernetes-users] Kubernetes Nginx Ingress

2017-07-14 Thread Alex Hokanson
I am trying to use the Nginx ingress controller from here: https://github.com/kubernetes/ingress/tree/master/examples/aws/nginx I tried using it in a KOPS cluster--that was fine and dandy but when I try to do the same to a cluster created with tectonic-installer, it failed due to this:

Re: [kubernetes-users] Re: How to make kube-scheduler aware of available IPs across a collection of nodes

2017-07-14 Thread
You could actively adjust available addresses as OIRs. When you see a node's count fall below 3, "allocate" some more if you can. This problem is another instance of resource hierarchy or topology that is interesting, but complex, and somewhat niche. Short term, I'd say the best answer is DIY.

Re: [kubernetes-users] Re: How to make kube-scheduler aware of available IPs across a collection of nodes

2017-07-14 Thread Avesh Agarwal
On Thu, Jul 13, 2017 at 10:23 PM, Nikhil Dixit wrote: > David: "It sounds like you could hard-code the capacity": That is not an > option in my case since the network scopes can have varying amount max IP > capacity and it can change over time as we add more subnets to it. > > Avesh: As mentioned

[kubernetes-users] integrate application container to fluentd container in kubernets

2017-07-14 Thread Parima Soni
Hi All, i have deployed my services in kubernets, FEK stack is deployed successfully, but when I am deploying my java-application for logs, I am getting error:- Error:- Name: app-logging-qlq9c Namespace: techm Node: ip-172-20-50-128.us-west-1.compute.internal/172.20.5

[kubernetes-users] Re: How to restrict user on Kubectl in RBAC

2017-07-14 Thread
Does the user have any other IAM roles/permissions to the project the GKE cluster is in? On Thursday, July 13, 2017 at 4:45:58 AM UTC-4, Vinoth Narasimhan wrote: > > I am running the cluster 1.6.4 in GKE where i trying to restrict the user > to do only certain actions on the cluster using RBAC.

Re: [kubernetes-users] Significance of weight in podAntiAffinity

2017-07-14 Thread banjara
Thanks David. On Friday, July 14, 2017 at 11:48:19 AM UTC+5:30, David Oppenheimer wrote: > > See the comment here > https://github.com/kubernetes/kubernetes/blob/master/pkg/api/types.go#L1948 > > > On Wed, Jul 12, 2017 at 11:39 AM, banjara > > wrote: > >> Hi >> What is significance of weight in p