Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
/ istio Public archive
forked from istio/istio

Connect, secure, control, and observe services.

License

Notifications You must be signed in to change notification settings

He-Jingkai/istio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ambient Mesh

This branch contains the experimental Ambient mesh functionality of Istio. See the Introducing Ambient Mesh and Getting Started with Ambient blogs for more information.

Getting Started

Supported Environments

The following environments have been tested and are expected to work:

  • GKE (without Calico or Dataplane V2)
  • EKS
  • kind

The following environments are known to not work currently:

  • GKE with Calico CNI
  • GKE with Dataplane V2 CNI
  • kind on Mac computers with Apple silicon

All other environments are unknown currently.

If you don't have a cluster, a simple cluster can be deployed in kind for testing:

kindConfig="
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: ambient
nodes:
- role: control-plane
- role: worker
- role: worker
"
kind create cluster --config=- <<<"${kindConfig[@]}"

Installing

Installing Istio with Ambient enabled is simple -- just pass --set profile=ambient.

First you will need to download the Ambient-enabled build of istioctl:

$ TODO

Then you can install like normal:

$ istioctl install -y --set profile=ambient

Follow Getting Started with Ambient for more details on getting started.

Installing from source

HUB=my-hub # examples: localhost:5000, gcr.io/my-project
TAG=ambient
# Build the images
tools/docker --targets=pilot,proxyv2,app,install-cni --hub=$HUB --tag=$TAG --push
go run istioctl/cmd/istioctl install  --set hub=$HUB --set tag=$TAG --set profile=ambient -y

Limitations

Ambient mesh is considered experimental. As such, it is not suitable for deployment in production environments, and doesn't have the same performance, stability, compatibility, or security guidelines that Istio releases typically have.

In addition to these general caveats, there are a number of known issues in the current implementation. These all represent short term limitations, and are expected to be fixed in future releases before promotion beyond "Experimental".

  • While AuthorizationPolicy is generally supported, there are a number of cases where authorization checks are not as strict as expected or not applied at all.
  • There are known performance issues for most measurements, including data plane throughput/latency, data plane resource consumption, scalability of cluster sizes, control plane resource consumption, and configuration propogation latency.
  • There are known cases where pods may temporarily not be treated as part of the mesh throughput their lifecycle.
  • Use of NetworkPolicy is currently undefined behavior.
  • Reported telemetry data only shows reporter=destination metrics.
  • Access log configuration is not fully respected.
  • Services that are ambient-enabled are not accessible through LoadBalancer or NodePorts. However, you can deploy an ingressgateway (which is not ambient-enabled) to access services externally.
  • Excessive permissions are granted to various components.
  • Requests directly to pod IPs (rather than Services) do not work in some cases.
  • EnvoyFilters are not supported.
  • Workloads not listening on localhost are not supported (see here).
  • Traffic from outside the mesh does not have inbound policy applied.
  • STRICT mTLS does not fully prevent plain text traffic.

offMesh patch

  • ztunnel only scheduled to cpu node
  • cni-node(cpu's) only scheduled to dpu node
  • add cni-node(dpu) to schedule to dpu node

About

Connect, secure, control, and observe services.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.1%
  • Shell 1.2%
  • Makefile 0.5%
  • Python 0.1%
  • Smarty 0.1%
  • Dockerfile 0.0%