From the course: Kubernetes for Java Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Deploy application with two deployments

Deploy application with two deployments

From the course: Kubernetes for Java Developers

Start my 1-month free trial

Deploy application with two deployments

- [Instructor] So far, we have deployed a Helm chart to our Kubernetes cluster, which has one Java application and that Java application returns a response, a simple response, hello. Now, we want to deploy an application to our Kubernetes cluster which has two Java applications. One of them returns a response of hello and the other one returns a response of howdy. And then we're going to have some fun with Istio, using those two applications. Now, remember, we talked about Istio works using a sidecar. Particularly, in this case, it is Uwise Sidecar Proxy. So how do we tell Kubernetes cluster to make sure for every deployment inject a sidecar proxy? Well, there are a couple of ways to do that. The first one is by which we can say, for any object that is injected into the default namespace, give it a label, call it Istio-injection=enabled and once you give that label, essentially, Istio will make sure that this sidecar which is injected into each deployment. Let's try that first. Copy…

Contents