I have integrated my application with Istio and it is working fine. I can view the traffic using Grafana. I am trying to inject fault in the poc application. I have modified Virtual Service with http status code 500, I applied the yaml. Still my micro service works fine. How to debug this ?
This is my yaml:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: txms-checking-server
namespace:
spec:
hosts:
- txms-checking-server
http:
- fault:
abort:
httpStatus: 500
percent: 100
match:
- headers:
end-user:
exact: user1
route:
- destination:
host: txms-checking-server
subset: v1
- route:
- destination:
host: txms-checking-server
subset: v1