--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-ne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/08b563c0-1c1b-4702-9e0d-4ba77beee79en%40googlegroups.com.
On Wed, 2021-05-12 at 11:39 +0200, Antonio Ojea wrote:
> hmm, I thought this was simpler, it seems that the exec probe uses
> the CRI-API to execute the command in the container
>
> https://github.com/kubernetes/cri-api/blob/708d0d76e582f969d2a1056b07eaf19109b76b9e/pkg/apis/runtime/v1/api.proto#L91-L92
>
> and the suggestion is to make it runtime agnostic
>
> https://github.com/kubernetes/kubernetes/issues/99425#issuecomment-839276282
>
> I can't see any other way to run this in the namespace than kubelet
> "entering" directly the pod namespace to execute the probe :/
Which means the runtime has to do it via CRI requests...
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-ne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/70d061b175f047ad53fc9934127553cc534d4df8.camel%40redhat.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/CAO_Rewb%2Bo%3Dq77nhzwDj9doQzZ3Fri2xt1rHmpxU5c00mNmR-RQ%40mail.gmail.com.
On 5/13/21 8:44 PM, 'Tim Hockin' via kubernetes-sig-network wrote:
> Namespaces and threads don't always play nicely together and Go and
> threads DEFINITELY do not.
There used to be a problem that runtime.LockOSThread() would ensure that
_your_ goroutine didn't get moved to another thread, but it wouldn't
prevent _other_ goroutines from being moved to your thread if you were
blocked and they weren't.