liveBook · Manning

Configuration as code

Configuration as code is the practice of representing and managing system or application configuration in machine-readable, version-controlled files.

How 3 Manning books explain it

Automating API Delivery

Configuration as code is the management of application configuration through descriptive, version-controlled files.

How it is used
Uses version-controlled configuration to reduce drift and support collaborative API gateway deployment workflows.
How deep it goes
Defines the practice and contrasts declarative and imperative configuration, then identifies gateway configuration formats without a command-level walkthrough.
Examples
Identifies OpenAPI vendor extensions, separate Apigee Edge files, and Kubernetes custom resource definitions as gateway configuration forms.
What you can do after
Enables readers to evaluate how version-controlled declarative files support collaboration on API gateway configuration.

Read how Automating API Delivery explains configuration as code →

Kubernetes for Developers

Configuration as code is a practice of representing system configuration in files that are managed like source code.

How it is used
Uses versioned declarative files to manage Kubernetes environments, workloads, and repeatable maintenance operations.
How deep it goes
Explains repository organization, review, rollout, reconciliation, and Secrets, with a worked Job manifest rather than exhaustive configuration reference.
Examples
Demonstrates staging and production repositories plus a Kubernetes Job that runs python3 add_tasks.py in its own Pod.
What you can do after
Apply configuration through Git, code review, deployment pipelines, GitOps reconciliation, and repeatable Kubernetes Jobs.

Read how Kubernetes for Developers explains configuration as code →

Platform Engineering on Kubernetes

Configuration as code is the practice of representing system and application configuration in version-controlled, machine-readable files.

How it is used
Uses versioned Kubernetes YAML and Helm packaging to make application deployments repeatable across environments.
How deep it goes
Explains topology, container links, environment variables, packaging, versioning, and Helm tuning, but stops before package production.
Examples
Uses Kubernetes resources, service environment variables, Helm charts, and local-to-cloud cluster deployment as examples.
What you can do after
Operate/configure application instances by versioning Kubernetes resources and tuning Helm templates for target clusters.

Read how Platform Engineering on Kubernetes explains configuration as code →

Also covered in

What to know first

Related concepts

Questions about configuration as code

What is configuration as code?

Configuration as code is the practice of representing and managing system or application configuration in machine-readable, version-controlled files.

Which Manning books explain configuration as code?

Automating API Delivery, Kubernetes for Developers and Platform Engineering on Kubernetes.

What should I know before learning configuration as code?

Manning books that teach configuration as code usually introduce GitOps, namespace, versioning and YAML first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.