Istio (Service Mesh) 00:00:01 Change where a museum sells its tickets The museum wants one ticket purchase in a hundred to try a new orders service. Its web application does not choose the version. The team publishes a routing policy and watches that policy travel to the proxies. The operator applies a route. Kubernetes stores it and istiod sees it. In this sidecar deployment, the control plane computes the relevant configuration for each data-plane proxy. The proxy of web has the new rule, the other one not yet. Both proxies agree. istioctl proxy-status shows this. Actual ticket requests travel through the data plane. The control plane distributes decisions but does not forward each purchase. During propagation two proxies can briefly operate with different configuration versions. Confirm what the receiving proxies actually accepted before interpreting a canary result. 00:00:55 Name the workload before permitting a method One ticket request leaves the web process for orders. In this example the local application uses plain HTTP to its own proxy, while the connection between meshed workloads is mutually authenticated and encrypted. The app sends plain HTTP. The proxy in the same pod takes it. The proxies establish mutual TLS and verify the workload certificates according to the mesh configuration. The orders-side policy permits the web service account to make the illustrated GET request. The request reaches the app, and the answer goes back the same way. The same caller tries DELETE. The app never sees it. Identity and authorization answer different questions. Authenticating the web workload does not automatically allow it to issue every method. Verify a permitted request and a denied request at the policy boundary. 00:01:48 Turn down a release without rebuilding the museum Set the new ticket service to a one-percent traffic weight. A weight is a distribution over many routing decisions, not a promise that every hundred consecutive tickets contain exactly one experiment. One request of a hundred goes to v2. At ten percent the new version now contributes more observations. Its error rate rises in this worked scenario. Restore the old route weights. Existing requests and established connections can have different lifetimes from the configuration update. The repaired v2 goes through all steps. Compare version-specific errors, latency and the number of observations. If the sample is tiny, one failure can dominate a percentage. If the canary is unhealthy, changing routing weights can protect customers while the team investigates. 00:02:36 One click asks a failing service twenty-seven times Assume three dependent hops, each configured for up to two retries after its first attempt. A downstream failure keeps triggering every retry. How much work can one purchase generate at the last service? With the example policy, the first level can make three attempts. These are chosen settings, not a universal mesh default. Each of the three is tried three times. 27 calls for one click, at a service that is already failing. In the comparison, just the final layer retries. That bounds this part of the example at three downstream attempts. Three attempts multiplied across three retrying levels can reach twenty-seven in this worst case. Budget retries at a chosen layer, bound the end-to-end deadline, and retry only operations whose effects are safe to repeat. 00:03:24 Decide which proxy needs to understand HTTP The museum's second cluster uses ambient mode. The same architectural question returns in a different shape: which component must understand a ticket's HTTP method, and which only needs a protected connection? Traffic of the pod is taken by its node's ztunnel and encrypted to the other node. The operator deploys and configures a waypoint for the target workloads in this example. The waypoint can now inspect and route the HTTP request. The node tunnel and the waypoint have different jobs. The waypoint sends it on to the destination's node. A node-level tunnel handles the ambient transport path. A configured waypoint can supply layer-seven processing for enrolled traffic. Verify enrollment and actual routing before expecting an HTTP policy to apply.