Deploying the Application
This lesson shows the step-by-step process of deploying a demo application.
In the previous sections, we deployed the demo application, which we targeted in our experiments. This one is not an exception. We are going to deploy the same demo application that we used before. Given that you are already familiar with it, we’ll go quickly through the commands without much explanation.
Pulling the latest version of the repository#
We’ll go to the go-demo-8
directory and pull the latest version of the repository.
Creating a namespace and adding a label for Istio#
Next, we’ll create a Namespace called go-demo-8
and add the label so that Istio knows that it should inject proxy sidecars automatically.
Applying the definition#
We’re going to apply the definition from the directory k8s/app-full
and, once all the resources are created, we’re going to wait until the Deployment of the API rolls out.
Sending a request to confirm accessibility#
Finally, to be sure that it works fine, we’re going to send a request to the newly deployed demo application.
Now we can turn our attention towards setting up the resources we’ll need to run experiments inside the Kubernetes cluster.
The next lesson will contain the instructions on how to set up the Chaos Toolkit in Kubernetes.