Skip to content

Instantly share code, notes, and snippets.

Avatar

Samir Behara sbehara1

View GitHub Profile
View Inject Delays with Istio.yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: serviceB
spec:
hosts:
- serviceB
http:
- fault:
delay:
View Inject Errors with Istio.yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: serviceB
spec:
hosts:
- serviceB
http:
- fault:
abort:
View Retry Strategy with Istio.yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: serviceB
spec:
hosts:
- serviceB
http:
- route:
- destination:
View Handling Service Timeouts with Istio.yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: serviceB
spec:
hosts:
- serviceB
http:
- route:
- destination:
View Istio Circuit Breaker.yaml
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 Jun 3, 2019
Implement Istio Circuit Breaker Outlier Detection to automatically identify the misbehaving pod and route traffic to healthy pods.
View Istio Outlier Detection.yaml
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: serviceB
spec:
host: serviceB
subsets:
- labels:
version: v1
name: serviceB-v1