concept Deployment definition in category microservice
appears as: Deployment definition

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-serverDeployment in YAML format. You’ll notice that the two environment variables we passed in the previous command under the--envargument are added to the Deployment definition. The actual code or the process corresponding to thehello-servercontainer, which runs inside a Pod within thehello-serverDeployment, 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.