githubEdit

Istio

Istio

Introduction

Resource

ServiceEntry

# cat serviceentry.yaml
apiVersion: networking.istio.io/v1
kind: ServiceEntry
metadata:
  name: svc-entry
spec:
  hosts:
    - ext-svc.example.com
  ports:
    - number: 443
      name: https
      protocol: HTTPS
  location: MESH_EXTERNAL
  resolution: DNS

---
# ext destinationrule.yaml
apiVersion: networking.istio.io/v1
kind: DestinationRule
metadata:
  name: ext-res-dr
spec:
  host: ext-svc.example.com
  trafficPolicy:
    connectionPool:
      tcp:
        connectTimeout: 1s

Sidecar

Gateway

VirtualService

DestinationRule

Deploy By Container

Sidecar Mode

Install by istioctl

Install by helm

Deploy application

Outside traffic and access

Ambient Mode

Reference:

Last updated