Re: [kubernetes-users] destoryed pod containers trigger

2018-01-31 Thread Colstuwjx
> kubectl logs ... --previous ? > I have tried that, but it shows `Error from server (BadRequest): previous terminated container "main" in pod "demo-1050-5fb5698d4f-8qtsw" not found` BTW, I found `maximum-dead-containers-per-container` and `maximum-dead-containers` to configure the policy,

Re: [kubernetes-users] Can you route external traffic to a pod without using a Google Cloud Loadbalancer or routing directly to the Node?

2018-01-31 Thread
On Jan 31, 2018 12:03 PM, wrote: Hi guys, I was wondering if there is another way to route external traffic to a Pod. So I know that you can use a Kubernetes Service of type "LoadBalancer" which on GKE will automatically create a Google Cloud Loadbalancer for you (as described here https://kuber

[kubernetes-users] Can you route external traffic to a pod without using a Google Cloud Loadbalancer or routing directly to the Node?

2018-01-31 Thread simontheleg
Hi guys, I was wondering if there is another way to route external traffic to a Pod. So I know that you can use a Kubernetes Service of type "LoadBalancer" which on GKE will automatically create a Google Cloud Loadbalancer for you (as described here https://kubernetes.io/docs/concepts/services

Re: [kubernetes-users] destoryed pod containers trigger

2018-01-31 Thread
kubectl logs ... --previous ? On Wed, Jan 31, 2018 at 6:38 AM, Colstuwjx wrote: >> >> >>> >>> But, what if we want to trigger the detail exited reason for the exited >>> containers? Is there any parameters configure that? >> >> >> Have you checked the terminationGracePeriod? I think it will do ju

Re: [kubernetes-users] destoryed pod containers trigger

2018-01-31 Thread Rodrigo Campos
On Wed, Jan 31, 2018 at 06:38:36AM -0800, Colstuwjx wrote: > > > >> But, what if we want to trigger the detail exited reason for the exited > >> containers? Is there any parameters configure that? > > > > Have you checked the terminationGracePeriod? I think it will do just that. > > I'm afraid no

Re: [kubernetes-users] destoryed pod containers trigger

2018-01-31 Thread Colstuwjx
> > > > >> But, what if we want to trigger the detail exited reason for the exited >> containers? Is there any parameters configure that? >> > > Have you checked the terminationGracePeriod? I think it will do just that. > I'm afraid not, I need to check the exited container, such as some cont

[kubernetes-users] Re: Give me normal container name plz!

2018-01-31 Thread Eugene
Oops pardon. This is solved by grouping and filtering -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegr

Re: [kubernetes-users] destoryed pod containers trigger

2018-01-31 Thread Rodrigo Campos
On Wednesday, January 31, 2018, Colstuwjx wrote: > Hi team, > > As I known, kubernetes will kill the POD while the readiness probe failed > over than `FailureThreshold` limit, and the unhealthy containers will be > deleted by kubelet. > I think only the liveness probe will do that. > But, wha

[kubernetes-users] Give me normal container name plz!

2018-01-31 Thread Eugene
Hello! I wan

[kubernetes-users] destoryed pod containers trigger

2018-01-31 Thread Colstuwjx
Hi team, As I known, kubernetes will kill the POD while the readiness probe failed over than `FailureThreshold` limit, and the unhealthy containers will be deleted by kubelet. But, what if we want to trigger the detail exited reason for the exited containers? Is there any parameters configure t

[kubernetes-users] kubeadm init fails on vmware vm

2018-01-31 Thread Kim Nielsen
Hi, I'm trying to install kubernetes on a vmware vm which in theory should be pretty easy. I have done several test installs using qemu and virtualbox and both of those works perfectly using this guide: https://blog.alexellis.io/kubernetes-in-10-minutes/ (The only difference is that I'm instal