|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/linkerd-workshop/
课程评论:没有评论
课程名称:Linkerd 2 开发者工作坊 2023 概述:本课程旨在帮助您充分利用强大的 Linkerd 服务网格。您将学习理解 Linkerd 如何与您的应用集成所需的核心概念,然后学习如何及为何启用 Linkerd 的高级功能。每个模块都包含实践练习,以巩固您的新技能。 学习内容: 1. 服务网格基础:Linkerd 是一个服务网格,能够管理和配置应用程序中的网络流量。它是一个云原生工具,能够在 Kubernetes 环境中工作,构建服务网格。 2. 可观察性:Linkerd 的一大优势是其可观察性功能。它提供成功率、延迟和流量等关键指标,并通过便捷的仪表板或命令行显示。在大型微服务环境中,Linkerd 可帮助您识别服务中的错误根本原因,并允许您配置应用程序的流量,通过添加重试和超时提高系统可靠性。 3. 基于 Rust 的速度和安全:Linkerd 的侧车代理采用 Rust 编程语言开发,使其更快、更高效,并减少内存安全漏洞的风险。这意味着 Linkerd 在运行成本和用户体验上优于市场上的其他服务网格。 4. 轻松部署和更新:通过添加单个 Kubernetes 资源注释,可以将 Linkerd 集成到您的应用中。Linkerd 与主应用容器分开运行,能够在不影响主要应用程序过程的情况下进行更新。 5. 高级部署策略:Linkerd 支持名为 Traffic Splits 的 Kubernetes 自定义资源定义,这一功能可以帮助您将流量分发到不同的后端,支持金丝雀部署和故障注入等高级技巧。 总之,本课程为希望深入理解和有效应用 Linkerd 服务网格的开发人员提供了全面的学习与实践机会。
This course has everything you need to take advantage of the powerful Linkerd service mesh. You will learn the core concepts needed to understand how Linkerd integrates with your application. Then, you'll learn how and why to enable the advanced features of Linkerd. For each section, you'll get hands-on exercises to reinforce your new skills.Learn the Service MeshLinkerd is a service mesh, which means that it allows you to manage and configure the network traffic in your application. Linkerd is a Cloud-Native tool that works inside a Kubernetes environment to create the service mesh.ObservabilityA major advantage of Linkerd is the observability feature. Linkerd provides the golden signals (success rate, latency, traffic) in a convenient dashboard or on the command line. In large microservices environments with lots of dependencies, it can be hard to find the root cause of errors in your service. Linkerd helps you to identify root cause by giving you success rates for all resources with linkerd enabled. Linkerd also allows you to configure traffic for the applications in your service mesh. You can add retries and timeouts using linkerd. These linkerd features allow you to increase the reliability of your system. If an incoming request results in an intermittent error, Linkerd's retries can automatically retry the request so that your user just sees a successful response.Rust-based for speed and securityLinkerd's sidecar proxy is written in the Rust programming language for a couple reasons. First, Rust makes Linkerd *fast*. Linkerd sidecar proxies are faster than other service meshes in the market. This means that Linkerd is cheaper to run and a better experience for your users than other meshes.Second, Rust makes Linkerd memory-efficient. When you are paying your cloud provider per GB of RAM used, it's best to go with the most efficient service mesh.Third, Linkerd sidecar proxies are not vulnerable to C-style memory vulnerabilities due to the safety guarantees of Rust. This means fewer work injects to update the proxy due to memory security issues such as Heartbleed.Easy Deployment and UpdatesTo add Linkerd to your application, you add a single Kubernetes resource annotation. If Linkerd is running on your cluster, it will automatically add the required configuration data so that your application is enabled for linkerd. Linkerd runs as a sidecar along your application. That means that Linkerd works with any application programming language. The sideecar pattern also means that you can update linkerd without impacting your main application container processes. Advanced Deployment StrategiesLinkerd supports a Kubernetes Custom Resource Definition type called Traffic Splits that enables advanced functionality for distributing traffic to different backends. You can use it to implement canary deployments such as the Blue-Green deployment with Linkerd. You can also perform advanced techniques such as fault injection using the Linkerd TrafficSplit resource.