concept Deployment definition in category microservice

appears as: Deployment definition
Microservices Security in Action

This is an excerpt from Manning's book Microservices Security in Action.

Let’s run the command in the following listing to get the definition of the hello-server Deployment in YAML format. You’ll notice that the two environment variables we passed in the previous command under the --env argument are added to the Deployment definition. The actual code or the process corresponding to the hello-server container, which runs inside a Pod within the hello-server Deployment, can read the value of the environment variable. For example, if the server wants to connect to a database, it can read the database connection details from these environment variables.