Cilium的网络加速秘诀pod在跨节点通 信的场景下, cilium 借助 eBPF redirect 能力,帮 助数据包在主机物 理网卡和pod虚拟 网卡之间快速转发, 能够完全 bypass 内核协议族的处理。 在某测试场景下, 跨节点间的 pod 通 信的 tcp 性能,比 node间应用通信的 tcp 性能还稍高 woker node2 woker node1 pod1 process nodePort 提供了 native 和 IPIP 等方式的 DSR (direct server return)实现,有效减 少了网络转发的跳数,极大提升了 nodePort的转发性能,降低访问延时。 相关测试表明: • kube proxy iptables模式下,请求完 成时间 1.6ms ,connect 时间 0.9 ms • Cilium DSR模式下,请求完成时间 1ms,connect时间0 核协议栈处理。尤其在 serviceMesh 流行趋 势下,sideCar 的重定向加速,成为重要话题。 cilium 利用 socket eBPF 程序,实现了对本 地应用通信间的加速转发。 相关测试表明: 在部分测试场景下,本地应用间的通信 TPS 性能,提升约 40-60% ��� ������������ ������������ ������������ ���������������0 码力 | 14 页 | 11.97 MB | 1 年前3
Cilium v1.10 Documentationtechnical deep dive of eBPF and XDP technology, primarily focused at developers. API Reference : Details the Cilium agent API for interacting with a local Cilium instance. Development Guide : Gives background Podcasts Blog posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Internals Hubble internals Hubble clusters. Create a Service Principal: In order to allow cilium-operator to interact with the Azure API, a Service Principal with Contributor privileges over the AKS cluster is required (see Azure IPAM required0 码力 | 1307 页 | 19.26 MB | 1 年前3
Cilium v1.8 Documentationtechnical deep dive of BPF and XDP technology, primarily focused at developers. API Reference : Details the Cilium agent API for interacting with a local Cilium instance. Development Guide : Gives background Podcasts Blog posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Hubble internals Hubble Architecture contact k8s api-server In the Cilum agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server"0 码力 | 1124 页 | 21.33 MB | 1 年前3
Cilium v1.9 Documentationtechnical deep dive of eBPF and XDP technology, primarily focused at developers. API Reference : Details the Cilium agent API for interacting with a local Cilium instance. Development Guide : Gives background Podcasts Blog posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Hubble internals Hubble Architecture contact k8s api-server In the Cilum agent logs you will see: level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s level=error msg="Unable to contact k8s api-server"0 码力 | 1263 页 | 18.62 MB | 1 年前3
Cilium v1.7 Documentationtechnical deep dive of BPF and XDP technology, primarily focused at developers. API Reference : Details the Cilium agent API for interacting with a local Cilium instance. Getting Started : Gives background 4 Examples Layer 7 Examples Kubernetes Endpoint Lifecycle Troubleshooting L7 Protocol Visibility API Rate Limiting Default Rate Limits Configuration Automatic Adjustment Metrics Understanding the log Podcasts Blog posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Reference Command Cheatsheet Command0 码力 | 885 页 | 12.41 MB | 1 年前3
Cilium v1.11 Documentationtechnical deep dive of eBPF and XDP technology, primarily focused at developers. API Reference : Details the Cilium agent API for interacting with a local Cilium instance. Development Guide : Gives background Podcasts Blog posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Internals Hubble internals Hubble clusters. Create a Service Principal: In order to allow cilium-operator to interact with the Azure API, a Service Principal with Contributor privileges over the AKS cluster is required (see Azure IPAM required0 码力 | 1373 页 | 19.37 MB | 1 年前3
Cilium v1.6 Documentationtechnical deep dive of BPF and XDP technology, primarily focused at developers. API Reference : Details the Cilium agent API for interacting with a local Cilium instance. Developer / Contributor Guide : Guide BPF Architecture Toolchain Program Types Further Reading API Reference Introduction How to access the API Compatibility Guarantees API Reference Reference Command Cheatsheet Command utilities: Self-Managed Kubernetes Managed Kubernetes Installer Integrations CNI Chaining Security Tutorials HTTP/REST API call authorization Locking down external access with DNS-based policies Securing a Kafka cluster How0 码力 | 734 页 | 11.45 MB | 1 年前3
Cilium v1.5 Documentationtechnical deep dive of BPF and XDP technology, primarily focused at developers. API Reference : Details the Cilium agent API for interac�ng with a local Cilium instance. Developer / Contributor Guide : Guide BPF Architecture Toolchain Program Types Further Reading API Reference Introduc�on How to access the API Compa�bility Guarantees API Reference Reference Command Cheatsheet Command u�li�es: Command MicroK8s Self-Managed Kubernetes Managed Kubernetes Installer Integra�ons Security Tutorials HTTP/REST API call authoriza�on Locking down external access with DNS-based policies Securing a Ka�a cluster How0 码力 | 740 页 | 12.52 MB | 1 年前3
How and When You
Should Measure CPU
Overhead of eBPF
ProgramsSupport ebpfbench - Go library for eBPF benchmarking https://github.com/DataDog/ebpfbench ebpfbench API Augments testing.B Outputs results in go benchmark format Can be used with benchstat and other tools0 码力 | 20 页 | 2.04 MB | 1 年前3
1.5 Years of Cilium Usage at DigitalOceanNode #1 cilium-agent cilium-operator Node #1 cilium-agent cilium-operator Control Plane kube-api-server cilium-agent kube-controller- manager scheduler ….. etcd VPC digitalocean.com How’s0 码力 | 7 页 | 234.36 KB | 1 年前3
共 13 条
- 1
- 2













