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.

Create Istio resources

Create Istio resources

From the course: Kubernetes for Java Developers

Start my 1-month free trial

Create Istio resources

- [Arun] In order for Istio to be able to do its work, we need to create certain Istio resources. Let's first understand what Istio resources we need in our case, and then we will create them next. DestinationRule is a resource that allows to specify one or more named sets that represent individual versions of a service. Each version is uniquely identified using the labels attached to the pod. It also defines policies that apply to traffic intended for a service after routing has occurred. These rules specify configuration for load balancing, connection pool size from the sidecar, and outlier reduction settings to detect and evict unhealthy hosts from the load balancing pool. Traffic policies can be applied to all sets or overridden at subset level. A VirtualService defines a set of traffic routing rules to apply when a host is addressed. For example, what weight should we assign to multiple services defined in this VirtualService? How many times a HTTP request should be retried if…

Contents