graph BT; classDef highlight fill:#AFFC41,stroke:#141B41,stroke-width:2px; container["Container(s)"]-->pod[Pod] class container highlight
Container does all the work defined in a pod definition.
There are a couple of container types:
- main container - runs a main application/service
- init container - runs before main container and performs some initalization tasks
- sidecar container - runs alongside application/service container; it cooperates in serving requests or sometimes acts as a proxy (e.g. used by istio project)