An application requires a generated configuration file before its main container starts. Both containers share a volume. Which pattern ensures the preparation step completes first?

Published
  1. A readiness probe that writes the file after traffic arrives
  2. Two ordinary containers with no readiness or startup coordination
  3. A regular init container that writes the file and exits successfully
  4. A Service selector that matches the preparation container

Comments — 0