1.

What are the types of multi-container pod patterns? (Explain each type with examples)

Answer»
  • sidecar:

A pod spec which RUNS the main container and a helper container that does some utility work, but that is not necessarily needed for the main container to work.

  • adapter:

The adapter container will inspect the CONTENTS of the app's FILE, does some kind of restructuring and reformat it, and WRITE the correctly formatted OUTPUT to the location.

  • ambassador:

It connects containers with the outside world. It is a proxy that allows other containers to connect to a port on localhost.

reference:https://matthewpalmer.net/Kubernetes-app-developer/articles/multi-container-pod-design-patterns.html



Discussion

No Comment Found

Related InterviewSolutions