QuestionQ1

VerifiedKubernetes Fundamentals

What is a key consideration when selecting a base image for a container in a Kubernetes deployment?

Explanation

A container image should contain the bare minimum needed to run its packaged program: ideally only the application and its dependencies, built from the smallest suitable base image. This minimizes unnecessary content and reduces exposure to vulnerabilities; smaller images can also improve deployment efficiency. Kubernetes documentation also advises against relying on the :latest tag in production because it makes running versions and rollbacks harder to track.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!