/istio-snippets

Code snippets of istio for visual studio code.

MIT LicenseMIT

istio-snippets

Code snippets of istio for visual studio code.

Features

  • DestinationRule
    • Circuit-Breaking: Circuit Breaking DestinationRule
  • VirtualService
    • Canary: Canary Deployments VirtualService
    • Mirroring: Mirroring Traffic VirtualService
    • Fault-Injection-HTTPStatus: Fault Injection (HTTPStatus) VirtualService
    • Fault-Injection-Delay: Fault Injection (Delay) VirtualService
  • ServiceEntry
  • Gateway
  • See more comment

Requirements

  • apiVersion: networking.istio.io/v1alpha3

Usage

Enter the CRD name in the yaml file and the corresponding code snippets will appear.

The following uses DestinationRule and VirtualService as examples to show how to use.

DestinationRule

DestinationRule

VirtualService

VirtualService