thank you for your answer I'm trying to configure the default behavior of the kubelet when no probe is defined
even in the case of defining a livenessProbe with its command, the minimum value for the periodSeconds parameter is 1 second, and I need to go below that On Tue, Aug 21, 2018 at 7:16 PM, Agrawal, Punit <punagra...@ebay.com> wrote: > Why not use *periodSeconds? * > > https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#define-a-liveness-command > > > > The *periodSeconds* field specifies that the kubelet should perform a > liveness probe every 5 seconds. > > > > > > punit agrawal > > dev-ops lead > > new product development > > ebay > > > > > > *From: *<kubernetes-users@googlegroups.com> on behalf of aymen saied < > med.aymen.sa...@gmail.com> > *Reply-To: *"kubernetes-users@googlegroups.com" <kubernetes-users@ > googlegroups.com> > *Date: *Tuesday, August 21, 2018 at 3:46 PM > *To: *"kubernetes-users@googlegroups.com" <kubernetes-users@ > googlegroups.com> > *Subject: *Re: [kubernetes-users] kubelet + containers health check > frequency > > > > I'm considering the default liveness check when no prob is defined > > in my experience immediately is around one second, I need to go below that > > > I looked at the kubelet configuration options, and I found the > --node-status-update-frequency that specifies how often kubelet posts node > status to master > > unfortunately, I couldn't find a similar option at the container or pod > level > > > > > On Tue, Aug 21, 2018 at 1:13 PM, Rodrigo Campos <rodrig...@gmail.com> > wrote: > > Do you mean the liveness check? Sure, see the docs. IIRC, it's there :) > > > > If a pod crashes, it will be restarted immediately, I think. > > > > On Tuesday, August 21, 2018, Aymen <med.aymen.sa...@gmail.com> wrote: > > Hello All, > > I'm trying to reduce kubernetes reaction time in case of a pod or > container failure (container process crash) > > I'm wondering if it is possible to reduce the frequency used for kubelet > to check that containers are running and healthy > > Cheers, > Aymen > > -- > 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...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fkubernetes-users&data=02%7C01%7Cpunagrawal%40ebay.com%7C42ed218699f9475a7d9508d607b7e3c2%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636704883718217890&sdata=6IL%2Bz%2BqItTaF3DFUysrnLzqSEBMTER8VdqjOStR9ZPo%3D&reserved=0> > . > For more options, visit https://groups.google.com/d/optout > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Cpunagrawal%40ebay.com%7C42ed218699f9475a7d9508d607b7e3c2%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636704883718217890&sdata=FddQy%2FLtv2G%2BaD2f62up2C6EdHSMvKsrV7icqA6%2FYEU%3D&reserved=0> > . > > -- > 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...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fkubernetes-users&data=02%7C01%7Cpunagrawal%40ebay.com%7C42ed218699f9475a7d9508d607b7e3c2%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636704883718217890&sdata=6IL%2Bz%2BqItTaF3DFUysrnLzqSEBMTER8VdqjOStR9ZPo%3D&reserved=0> > . > For more options, visit https://groups.google.com/d/optout > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Cpunagrawal%40ebay.com%7C42ed218699f9475a7d9508d607b7e3c2%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636704883718217890&sdata=FddQy%2FLtv2G%2BaD2f62up2C6EdHSMvKsrV7icqA6%2FYEU%3D&reserved=0> > . > > > > -- > 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...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fkubernetes-users&data=02%7C01%7Cpunagrawal%40ebay.com%7C42ed218699f9475a7d9508d607b7e3c2%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636704883718217890&sdata=6IL%2Bz%2BqItTaF3DFUysrnLzqSEBMTER8VdqjOStR9ZPo%3D&reserved=0> > . > For more options, visit https://groups.google.com/d/optout > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Cpunagrawal%40ebay.com%7C42ed218699f9475a7d9508d607b7e3c2%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636704883718217890&sdata=FddQy%2FLtv2G%2BaD2f62up2C6EdHSMvKsrV7icqA6%2FYEU%3D&reserved=0> > . > > -- > 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...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- 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...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.