Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View sbehara1's full-sized avatar

Samir Behara sbehara1

View GitHub Profile
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: serviceB
spec:
hosts:
- serviceB
http:
- fault:
delay:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: serviceB
spec:
hosts:
- serviceB
http:
- fault:
abort:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: serviceB
spec:
hosts:
- serviceB
http:
- route:
- destination:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: serviceB
spec:
hosts:
- serviceB
http:
- route:
- destination:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: serviceC
spec:
host: serviceC
subsets:
- name: serviceC-v1
labels:
version: v1
@sbehara1
sbehara1 / Istio Outlier Detection.yaml
Last active June 3, 2019 02:19
Implement Istio Circuit Breaker Outlier Detection to automatically identify the misbehaving pod and route traffic to healthy pods.
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: serviceB
spec:
host: serviceB
subsets:
- labels:
version: v1
name: serviceB-v1