4 Configuring applications with ConfigMaps and Secrets

One of the great advantages of running apps in containers is that you eliminate the gaps between environments. The deployment process promotes the same container image through all your test environments up to production, so each deployment uses the exact same set of binaries as the previous environment. You’ll never again see a production deployment fail because the servers are missing a dependency that someone manually installed on the test servers and forgot to document. Of course, differences do occur between environments, and you provide for that by injecting configuration settings into containers.

Kubernetes supports configuration injection with two resource types: ConfigMaps and Secrets. ...

Get Learn Kubernetes in a Month of Lunches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.