Hi, in the lab virtual services theres one question that asks to create a virtual service. However, a service is already created. My concern is that it’s not clear if the virtual service needs to be deployed on top of an existing service or it doesn’t.
Indeed, after deploying the virtual service I made a kubectl get all -A and a describe of the service and that returned me a service instead of the virtual service, which I didn’t find in the complete list of get all
yes, so to my understanding the way the virtual services works is:
Gateway-> virtual service-> clusterIP service-> Destination rules-> Pod or Deployment
so these new components that Istio provides through the Kubernetes CRDs have to work with the ClusterIP service of Kubernetes. They are a way to implement service mesh and to expand the capabilities of the Kubernetes ClusterIP service with, for example, the load balancing, circuit breaking, etc.
I put the second image with the traffic policies that would not work if a service was placed just before the workloads. Even in this case, then there should be one service for each workload? I’m not understanding the clusterIP service in all this methodology
there’s no label with version: v1, v2 or v3. So then the virtual service + destination rules already route to the pods of the deploymets. I don’t get why the services are still needed. Indeed, I’ve tried to delete the service reviews and then they are not loaded. I get this message on the web panel:
#### Error fetching product reviews!
Sorry, product reviews are currently unavailable for this book.
does anybody know why the service is still needed and at the same time it does not make any route with its round robin policy? how does the Vservce+Drules overlap with the service ?