Hi ! I have a question regarding the sidecar conta...
# flyte-support
c
Hi ! I have a question regarding the sidecar container in Flyte. I am following the this page: https://docs.flyte.org/en/latest/flytesnacks/examples/k8s_pod_plugin/pod.html I have few questions: Let's suppose I have a primary container and a sidecar container and I am using the GPU for both. 1. Would each pod be assigned to a dedicated GPU or would they share all the resources ? 2. How the primary container and sidecar container communicate with each other ?
f
It’s pod, so both containers will communicate as if local host You can assigns gpu to each
c
@freezing-airport-6809 Thanks for the reply. Could you please explicitly tell me that which properties of @task can change for
primary
and
secondary
container. 1. Can we change the
resources
and
limits
in each container so it would always be the same for both of the containers ? 2. The
image
we can change for both
primary
as well as for
secondary
container.