paul
paul

Reputation: 13471

Kill/stop Istio envoy proxy

I’m doing some chaos testing in K8s. My platform use Istio envoy sidecar, and as some use case of my chaos scenarios, I would like to stop/kill a envoy proxy without kill the service container, and see what is the standard behavior.

So far I don’t manage to figure how to do it through kubectl/istioctl.

Any idea how to accomplish this?

Regards

Upvotes: 1

Views: 2355

Answers (2)

VonC
VonC

Reputation: 1326982

You might try and configure your Istio Virtual Service with a secondary HTTP route with a Route Destination:

  • pointed to nowhere,
  • with a weight of 0 (so not receiving any traffic)

Setting that weight to 100 would activate that fake route, effectively "killing" the router (in that it sends the traffic to "nowhere"), while the service remains active.

Upvotes: 1

Related Questions