03-基于Apache APISIX的全流量API网关-温铭
StrongLoop • 2015 年,谷歌 6.25 亿美元收购 apigee • 2018 年,Salesforce 65 亿美元收购 MuleSoft • 2018 年, Broadcom 189 亿美元收购 CA Technologies • 2019 年,F5 收购 6.7 亿美元收购 NGINX Apache APISIX 简介 关于 Apache APISIX • 天然的云原生 API 处理 L4、L7 层流量:HTTP、HTTPS、TCP、UDP、MQTT、Dubbo、gRPC… • 替代 Nginx 处理南北向流量 • 替代 Envoy 处理服务间东西向流量 • k8s ingress controller • 借助 MQTT 插件作为 IoT 网关 • 借助 IdP 插件成为零信任网关 Apache APISIX 的技术优势 Apache APISIX 的技术优势 • F5 收购 Nginx 的替代者 • API 网关:Kong、Apache APISIX • service proxy:Envoy • 公有云:CLB + API 网关、CLB + k8s ingress controller 东西向流量 • 随着微服务而兴起 • service mesh 和 API 网关的位置和愿景不同,但功能基本一致 • istio + Envoy 已经成为 service0 码力 | 11 页 | 6.56 MB | 5 月前3金卫-Apache APISIX 借助 Service Mesh 实现统一技术栈的全流量管理
APISIX借助ServiceMesh 实现统一技术栈的全流量管理 金卫(API7 解决方案架构师) • 支流科技 - 解决方案架构师 • Apache APISIX PMC • Apache APISIX Ingress Controller Founder • Apache skywalking committer • Github: https://github.com/gxthrj 企业介绍 xDS,方便迁移 自定义 CRD ,增量推送策略 支持多协议 https://github.com/api7/amesh 下一个版本发布时间 12 月 未来展望 概览 APISIX Ingress处理南北向入口流量 APISIX Service Mesh处理东西向流量 APISIX专用插件配置等通过Amesh 下发 APISIX 全流量代理的价值 节约成本 统一技术栈 覆盖Istio各类场景/配置 降低用户迁移成本 Apache APISIX Ingress 一种Kubernetes Ingress controller实现 Kubernetes集群南北向流量网关 控制面和数据面分离 https://github.com/apache/apisix-ingress-controller 总结 服务网格是未来 正在螺旋上升的状态 APISIX0 码力 | 34 页 | 3.50 MB | 5 月前3进击的 Traefik | 云原生边缘路由器探秘
KubernetesKubernetes 简单示例Traefik With Kubernetes containers: - image: traefik:v2.0 name: traefik-ingress-lb ports: - name: web containerPort: 80 hostPort: 80 - name: websecure containerPort: 443 hostPort: dashboard=true - --api.insecure=trueIngress apiVersion: extensions/v1beta1 kind: Ingress metadata: annotations: kubernetes.io/ingress.class: 'traefik' spec: rules: - host: whoami.k8s.local http: paths: - - path: "/whoami" backend: serviceName: webapp servicePort: 80Ingress CRD apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: traefik-webui namespace: kube-system spec: entryPoints:0 码力 | 35 页 | 8.58 MB | 5 月前3有了 NGINX 和 Kong,为什么还需要 Apache APISIX-王院生
社 区 M e e t u p 第 四 期 · ⼴ 州 站 Kubunetes Ingress • 项⽬地址:https://github.com/apache/apisix-ingress-controller • 全动态,⽆需 reload • ⽀持原⽣ k8s CRD,⽆缝迁移 • 性能最好的 k8s Ingress Controller 项⽬ • 状态:Q2 季度 GA 云 原 ⽣ 社 云 原 ⽣ 社 区 M e e t u p 第 四 期 · ⼴ 州 站 APISIX:全流量数据⾯ • LB: APISIX • 南北 API ⽹关:APISIX • K8s ingress:APISIX Ingress • Java ⽹关:Java plugin runner • 服务⽹格 Sidecar:APISIX Mesh 云 原 ⽣ 社 区 M e e t u p 第 四 期0 码力 | 34 页 | 25.78 MB | 5 月前322-云原生的缘起、云原生底座、PaaS 以及 Service Mesh 等之道-高磊
Zipkin EFK prometheus • 适合大部分客户希望原封不动的低成本迁移上云。 • 大部分周边依赖无法做到平台化,导致管理碎片化严重,并与 微服务框架直接关联,成本较高。 Ingress Service A Service B Service C k8s-ETCD ConfigMap Zipkin EFK prometheus • 适合新项目上云,如果是已经存在的项目就需要修改代码 有没有可能集成两种部署方式的优势呢,即可以实现透明化迁移同时可以保证标准化能力呢? 本质而言,我们是需要一个可以托管各类微服务的通用云原生应用架构治理平台 标准化能力-微服务PAAS-应用架构治理-运行态稳定性管理-2 Ingress k8s-ETCD ConfigMap Zipkin EFK prometheus • ServiceMesh为容器云打通通信网格(东西南北流量)、补充服务治理能力的同时,也将平台能力与微服务运行 单点故障,需要提供高可用方案,如Broker部署在K8S中,HPA控 制器可以保证其高可用性,因为它本身无状态。 标准化能力-API网关 Web应用 移动应用 第三方应用 Gateway (如K8S的 Ingress) Catalog服务 REST Recom服务 TCP Catalog服务 gRPC Web应用 移动应用 第三方应用 WebApp GateWay Catalog服务 REST Recom服务0 码力 | 42 页 | 11.17 MB | 5 月前3Service Mesh是下一代SDN吗:从通信角度看Service Mesh的发展
MSB-Consul Jaeger DexMesh数据面 Pod Microservice Envoy Desktop OtherSystems Mobile DexMesh Ingress Pod Microservice Envoy (Telemetry, Policy check) 配置数据(服 务信息,路由 信息等) 定制Istio组件 应用微服务 业务请求 200个服务的规模下,CPU占用率降低了一个数量级 • 服务数据变化同步时延从分钟级降低到秒级 • Consul调用导致的TIME_WAIT Sockets数量减少到个位级产品化增强-Ingress API Gateway K8S Ingress Load balancing SSL termination Virtual hosting Istio Gateway Load balancing SSL termination 提供API管理能力, 缺少服务网格能力在DexMesh场景下Mesh和API Gateway的分工与协同 External request MSB API Gateway API Management Ingress Sidecar Service Discovery & Traffic Management Server Sidecar Sidecar Client Service Mesh Service0 码力 | 27 页 | 11.99 MB | 5 月前323-云原生观察性、自动化交付和 IaC 等之道-高磊
用的水平扩展的策略和 Ingress 规则,它们在不同的部署环境里却往往有着截然不同的实现方式。 举一 个例子,同样是 Ingress,它在公有云上和本地数据中心的实现完全不同:前者 一般是 SLB 这样的云服务,而后者则可能是一个专门的硬件。这也就意味着针 对两个环境的 Ingress 运维工作,将会有天壤之别。 但与此同时,无论是在哪 个环境里,这个 Ingress 规则对于应用开发人员来说,可能是完全相同的。Trait0 码力 | 24 页 | 5.96 MB | 5 月前3Apache APISlX from Gateway to Full Traffic Proxy with Istio
Traffic Proxy with Istio Jintao Zhang API7.ai #IstioCon About Me ● Apache APISIX PMC ● Kubernetes Ingress NGINX maintainer ● Microsoft MVP ● zhangjintao@apache.org ● https://github.com/tao12345666333 Gateway(weibo、WPS) ● Microservices API Gateway(iQIYI) ● Kubernetes Ingress controller(UPYUN) ● https://github.com/apache/apisix-ingress-controller/ #IstioCon Why use Apache APISIX as the data plane for0 码力 | 15 页 | 1.29 MB | 5 月前0.03七牛容器云ServiceMesh实践
七牛容器云Service Mesh实践 冯玮 七牛容器云架构师 2018.11.25 Service Mesh Meetup #4 上海站Ingress Controller • 流量管理 • 安全管理 • 统一配置 • 反向代理Contour • 本质上还是Ingress Controller • Kubernetes深度整合 • Gimbal生态组件Contour特点 • 基于Envoy • 协议转换 多集群入口流量整合管理 • 劣势 • 缺少大规模落地案例 • 功能/非功能仍需加强Contour & Istio • 南北向流量 • API版本共存(Istio & Kubernetes Ingress) • 东西向流量 • Istio支持全量功能 • Contour支持Tracing能力 • 数据面共存 • 共用边车组件Envoy七牛现有Service Mesh体系 • Istio产品化0 码力 | 15 页 | 3.86 MB | 5 月前3蚂蚁金服 API Gateway Mesh 思考与实践
Gateway Mesh 的定义 蚂蚁金服 API Gateway Mesh 实践 云原生 API Gateway 的思考2/21 API Gateway Mesh 的定义 /013/21 LB\Ingress API Gateway Sidecar App POD Sidecar App POD Traffic Control Plane K8S Cluster API Gateway Motorcycle (MOSN/Envoy) Service Mesh is Patterns SofaRPC API Gateway MQ Client Service Code6/21 LB\Ingress API Gateway Sidecar App POD Sidecar App POD Traffic Control Plane Cluster API Gateway Mesh Mesh 灰度能力建设17/21 云原生 API Gateway 思考 /0318/21 可管理性 功能 云原生南北向流量方案19/21 MOSN APP1 MOSN MOSN LB/Ingress APP1 MOSN MOSN MOSN Cloud A Cloud B LB Sidecar API Gateway Centralized API Gateway Decentralized0 码力 | 22 页 | 1.72 MB | 5 月前3
共 166 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17