I'm looking around for a way to specify that HTTP 401 is okay (since it tells me that the app is working).
Is there a way to do this?
Thanks,
Adam
No, the probes look specifically for 200s, I think. Is there a reason
you can't return 200?
On Wed, Dec 14, 2016 at 10:33 AM, <adam.dau...@gmail.com> wrote:
> Hello there,
>
> I'm looking around for a way to specify that HTTP 401 is okay (since it tells me that the app is working).
>
> Is there a way to do this?
>
> Thanks,
>
> Adam
>
> --
> 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+unsubscribe@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 a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/Y3Y_Athhhds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Please file a github feature request
On Thu, Dec 15, 2016 at 1:08 PM, Adam Daughterson
<adam.dau...@gmail.com> wrote:
> Because the request requires authentication, and a 401 is a good indicator
> that the microservice is running.
> It would be nice to be able to customize it.
>
> Thanks!
>
> On Wed, Dec 14, 2016 at 11:46 AM, 'Tim Hockin' via Kubernetes user
> discussion and Q&A <kubernetes-users@googlegroups.com> wrote:
>>
>> No, the probes look specifically for 200s, I think. Is there a reason
>> you can't return 200?
>>
>> On Wed, Dec 14, 2016 at 10:33 AM, <adam.dau...@gmail.com> wrote:
>> > Hello there,
>> >
>> > I'm looking around for a way to specify that HTTP 401 is okay (since it
>> > tells me that the app is working).
>> >
>> > Is there a way to do this?
>> >
>> > Thanks,
>> >
>> > Adam
>> >
>> > --
>> > 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+unsubscribe@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 a topic in the
>> Google Groups "Kubernetes user discussion and Q&A" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/kubernetes-users/Y3Y_Athhhds/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> kubernetes-users+unsubscribe@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+unsubscribe@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 a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/Y3Y_Athhhds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Thanks!Because the request requires authentication, and a 401 is a good indicator that the microservice is running.It would be nice to be able to customize it.
As an alternative approach to "401 OK", what would you need to make authenticated probe requests?
The microservice is entirely set up to prevent access without auth, and I don't have control over that. In our use-case, 401 is perfect because it means we are ready, and the service is doing what it is supposed to be doing.Make sense?
On Thu, Dec 15, 2016 at 9:57 PM, Rodrigo Campos <rodr...@gmail.com> wrote:
Ans what do you do with the readiness probe?
I mean, 401 might not be a good indication that is ready and you may want and endpoint without auth just for it.
Thanks!Because the request requires authentication, and a 401 is a good indicator that the microservice is running.It would be nice to be able to customize it.
On Wed, Dec 14, 2016 at 11:46 AM, 'Tim Hockin' via Kubernetes user discussion and Q&A <kubernet...@googlegroups.com> wrote:
No, the probes look specifically for 200s, I think. Is there a reason
you can't return 200?
On Wed, Dec 14, 2016 at 10:33 AM, <adam.dau...@gmail.com> wrote:
> Hello there,
>
> I'm looking around for a way to specify that HTTP 401 is okay (since it tells me that the app is working).
>
> Is there a way to do this?
>
> Thanks,
>
> Adam
>
> --
> 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-use...@googlegroups.com.
> To post to this group, send email to kubernet...@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 a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/Y3Y_Athhhds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@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-use...@googlegroups.com.
To post to this group, send email to kubernet...@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 a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/Y3Y_Athhhds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@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-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/Y3Y_Athhhds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.