Traffic routing — VirtualService
Apply a VirtualService to define traffic routing rules
kubectl apply -f virtualservice.yaml
- tool
- istio19 commands
More istio commands
-
kubectl apply -f destinationrule.yamlApply a DestinationRule to define load balancing and circuit breaker policies
-
kubectl apply -f - <<EOF apiVersion: security.istio.io/v1beta1 kind: PeerAuthentication metadata: name: default namespace: default spec: mtls: mode: STRICT EOFEnforce strict mutual TLS for all workloads in namespace
-
istioctl kube-inject -f deployment.yaml | kubectl apply -f -Manually inject Istio sidecar into a deployment manifest
-
istioctl dashboard kialiOpen Kiali service mesh dashboard in browser
-
istioctl dashboard jaegerOpen Jaeger distributed tracing dashboard