Deploying the First Release
Explore the process of deploying the first release of a Kubernetes application within namespaces. Understand how to modify deployment definitions dynamically using command-line tools to specify image tags and verify your deployment through HTTP requests, gaining practical experience with Kubernetes workflows.
We'll cover the following...
Looking into the definition
We’ll start by deploying the go-demo-2 application and use it to explore namespaces. The file is shown below:
The definition is the same as the one we used before, so we’ll skip the explanation of the YAML file. Instead, we’ll jump right away into the deployment.
Altering the definition
Unlike previous cases, we’ll deploy a specific tag of the application. If this would be a Docker Swarm stack, we’d define the tag of the vfarcic/go-demo-2 image as an environment variable ...