As far as I am aware, you cannot change a pod after it has been started. A
pod *can* talk to the Kubernetes API to start more pods, and I believe you
can use node affinity
https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ to make
sure that a new pod gets scheduled where you need it. Depending on your use
case, putting both in the host network namespace may or may not be
necessary.

/MR

On Tue, Dec 5, 2017 at 7:29 PM 'Axel Magnuson' via Kubernetes user
discussion and Q&A <kubernetes-users@googlegroups.com> wrote:

> Hi All,
>
>
> I am considering using Kubernetes for an application that would require
> worker pods to spawn additional (custom) docker containers that have
> runtime parameters set by the worker. Ideally, these additional containers
> would be added to the existing container's pod. At the very least, the new
> containers should be co-located on the same physical node. However, I have
> so far failed to find any documentation on how to accomplish this (under
> either of my constraints).
>
>    - Is this a use case that Kubernetes supports?
>    - If so, what would be the best way to accomplish this?
>    - Where can I find documentation on this subject?
>
> Many thanks in advance. I am new to Kubernetes and have been striking out
> in my search.
>
> --
> 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.
  • [kubernetes-u... 'Axel Magnuson' via Kubernetes user discussion and Q&A
    • Re: [kub... 'Matthias Rampke' via Kubernetes user discussion and Q&A

Reply via email to