envsubst is a command-line utility that substitutes references to environment variables in input text with their corresponding values.
envsubst is a Linux command-line utility that replaces environment-variable references in input text with their current values. It keeps deployment configuration such as registry URLs and image versions separate from application code. section 8.9.2
A practical deployment workflow is:
Set variables such as CONTAINER_REGISTRY and VERSION in the shell or automated workflow. section 8.9.2
Pass a Kubernetes deployment template to envsubst through standard input. section 8.9.2
Use the expanded configuration directly or pipe it into kubectl for Kubernetes deployment. section 10.9.2
environment variableuses · An environment variable is a named value supplied through an operating-system or process environment and made available to programs for runtime configuration or information.
Linuxuses · Linux is an open-source operating-system kernel and the family of Unix-like operating systems built around it.
configurationproduces · A specification of settings, parameters, or component relationships that determines how a system, application, model, or process is structured or operates.
This explainer was generated by Manning's knowledge graph from the text of Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform. The section links point to the parts of the book it draws on.