Re: [kubernetes-users] Can't view logs in python pod/container

2017-08-10 Thread Brandon Philips
Great! I would argue your application isn't behaving properly and there is some code that expects a TTY that should be fixed. On Thu, Aug 10, 2017 at 1:52 PM David Rosenstrauch wrote: > Yep, that did the trick! > > Thanks, > > DR > > On 2017-08-10 4:43 pm, Brandon Philips

Re: [kubernetes-users] Can't view logs in python pod/container

2017-08-10 Thread Brandon Philips
What you are doing is fine. Just do kubectl edit deployment custom-django-app and add tty: true to the podspec. I bet it will start working. On Thu, Aug 10, 2017 at 11:10 AM David Rosenstrauch wrote: > The Dockerfile is pretty straightforward: > > FROM ubuntu:16.04 > RUN

[kubernetes-users] Re: Proposal for a new SIG: SIG-GCP

2017-08-10 Thread Joseph Jacks
+1. On Wednesday, August 9, 2017 at 3:16:34 PM UTC-7, Adam Worrall wrote: > > I am proposing to create SIG-GCP. It would fill a similar role as SIG-AWS > and SIG-Azure, but for GCP. Here are the details: > > Proposed mission statement: > > A Special Interest Group for building, deploying,

Re: [kubernetes-users] Can't view logs in python pod/container

2017-08-10 Thread David Rosenstrauch
The Dockerfile is pretty straightforward: FROM ubuntu:16.04 RUN apt-get update && apt-get install -y --no-install-recommends python3-django sqlite3 && rm -rf /var/lib/apt/lists/* WORKDIR django-apps ADD challenge1.tar.gz . WORKDIR challenge1 EXPOSE 8080 ENTRYPOINT python3 -u manage.py

Re: [kubernetes-users] Can't view logs in python pod/container

2017-08-10 Thread Brandon Philips
Hello David- Can you share the code to your app? Something about the app requires a TTY to print out logs. Alternatively, add `tty: True` to the PodSpec https://kubernetes.io/docs/api-reference/v1.7/#podspec-v1-core Brandon On Wed, Aug 9, 2017 at 9:30 AM David Rosenstrauch

Re: [kubernetes-users] Kubernetes resource management

2017-08-10 Thread 'Tim Hockin' via Kubernetes user discussion and Q
A single program, in a container, can only access the resources of that single machine. A "service" can scale horizontally, across many machines, to grow. In kubernetes we call that replicas, and the typical primitive is Deployment. On Aug 10, 2017 9:23 AM, wrote: > Hi > >

[kubernetes-users] Kubernetes resource management

2017-08-10 Thread shyam21
Hi I'm a newbie to kubernetes/docker and we are recently migrating application to kubernetes/docker. On kubernetes cluster we have 10 nodes,and each node is having 10 CPU/cores and 64gb ram. If we deployed microservice in a container, does microservice will have the resources of all the 10

[kubernetes-users] Re: Proposal for a new SIG: SIG-GCP

2017-08-10 Thread michelle
+1 On Wednesday, August 9, 2017 at 6:16:34 PM UTC-4, Adam Worrall wrote: > > I am proposing to create SIG-GCP. It would fill a similar role as SIG-AWS > and SIG-Azure, but for GCP. Here are the details: > > Proposed mission statement: > > A Special Interest Group for building, deploying,

Re: [kubernetes-users] Finding a way to get stable public IP for outbound connections

2017-08-10 Thread 'Tim Hockin' via Kubernetes user discussion and Q
The GKE team has heard the desire for this and is looking at possible ways to provide it. On Wed, Aug 9, 2017 at 3:56 PM, wrote: > On Friday, June 16, 2017 at 11:24:15 AM UTC-5, pa...@qwil.co wrote: >> Yes, this is the right approach -- here's a detailed walk-through: >> >>