Deploying the Application

Pulling the latest version of the repository#

We need to deploy the demo application. This should be straightforward because we already did it a couple of times before. It’s going to be the same application we used in the previous section, so we’re going to go through it fast.

Creating a namespace and adding a label for Istio#

We entered into the go-demo-8 directory with the local copy of the repository, and we pulled the latest version of the code.

Applying the definition#

We created the Namespace go-demo-8, and we added the label istio-injection=enabled. From now on, Istio will be injecting proxy sidecars automatically.

We applied the definitions from the k8s/app-db directory, and we waited until the application rolled out.

Sending a request to confirm accessibility#

Finally, we sent a request to our application to confirm that it is accessible.

You might have noticed that we did not deploy the repeater. We don’t need it. Other than that, it’s still the same go-demo-8 API and MongoDB.


That’s about it. Now we can experiment with the nodes of our cluster in the next lesson.

Creating a Cluster
Draining Worker Nodes
Mark as Completed
Report an Issue