2.2.1通过Golang+eBPF实现无侵入应用可观测io/latest/zh/blog/2022/merbridge/ eBPF 的可编程能力使其能够内核中完成包的处理和转发,而且可以添加额外扩展能力。 观测和跟踪 将 eBPF 程序附加到跟踪点以及内核和用户应用探针点的能力,使得应用程序和系统本身的 运行时行为具有前所未有的可见性 From:https://juejin.cn/post/7280746515525156918 安全 看到和理解所有 无侵入性 • 无需修改代码 • 无需重启应用 • Verifier保证运行安全 多协议、多框架、多语言 • 捕获网络字节流 • 无需适配编程语言 • 无需适配协议框架 • 同时支持用户态插桩 全栈覆盖 ✅ uprobe ✅ kprobe ✅ tracepoint ✅ USDT ✅ perf ✅ … eBPF的编程实践 bcc libbpf + bpf + core core 编程 bcc 依靠运行时汇编,将整个大型LLVM/Clang 库带入并嵌入其中 编译过程中资源用量大,对Cpu、Mem有要求 依赖内核的头包 bpf 程序跟其他的用户空间的程序没有太大区别 编译成二进制文件,可以适应不同运行环境 libbpf 扮演bpf程序装载机角色 开发人员只需要关注bpf程序的正确性和性能,不 需要关注其他依赖关系 通过Golang加载eBPF程序0 码力 | 29 页 | 3.83 MB | 1 年前3
Cilium的网络加速秘诀转发数据包所需的“ CPU 开销” eBPF 简介 eBPF 技术 在 Linux kernel 3.19 开始被 引入,可在用户态进行 eBPF 程序编程,编译 后,动态加载到内核指定的 hook 点上,以 VM 方式安全运行,其能过通过 map 存储结 构存储数据,能通过 map 同用户态程序交互, 最终实现内核数据进行修改,或者影响内核处 理请求的结果,或者改变内核处理请求的流程。 极大提升了内核处理事件的效率。0 码力 | 14 页 | 11.97 MB | 1 年前3
Cilium v1.9 Documentationdeploy Hubble Relay and the UI as follows on your existing installation: Installation via Helm If you installed Cilium via helm install, you may enable Hubble Relay and UI with the following command: --reuse-values \ --set hubble.listenAddress=":4244" \ --set hubble.relay.enabled=true \ --set hubble.ui.enabled=true On Cilium 1.9.1 and older, the Cilium agent pods will be restarted in the process. Installation installed Cilium 1.9.2 or newer via the provided quick-install.yaml, you may deploy Hubble Relay and UI on top of your existing installation with the following command: kubectl apply -f https://raw.githubusercontent0 码力 | 1263 页 | 18.62 MB | 1 年前3
Cilium v1.11 DocumentationObservability Setting up Hubble Observability Inspecting Network Flows with the CLI Service Map & Hubble UI Network Policy Security Tutorials Identity-Aware and HTTP-Aware Policy Enforcement Locking down external Next Steps Setting up Hubble Observability Inspecting Network Flows with the CLI Service Map & Hubble UI Identity-Aware and HTTP-Aware Policy Enforcement Setting up Cluster Mesh Installation using Helm Next Steps Setting up Hubble Observability Inspecting Network Flows with the CLI Service Map & Hubble UI Identity-Aware and HTTP-Aware Policy Enforcement Setting up Cluster Mesh Advanced Installation Tip0 码力 | 1373 页 | 19.37 MB | 1 年前3
Cilium v1.10 DocumentationObservability Setting up Hubble Observability Inspecting Network Flows with the CLI Service Map & Hubble UI Network Policy Security Tutorials Identity-Aware and HTTP-Aware Policy Enforcement Locking down external Next Steps Setting up Hubble Observability Inspecting Network Flows with the CLI Service Map & Hubble UI Identity-Aware and HTTP-Aware Policy Enforcement Setting up Cluster Mesh Installation using Helm Next Steps Setting up Hubble Observability Inspecting Network Flows with the CLI Service Map & Hubble UI Identity-Aware and HTTP-Aware Policy Enforcement Setting up Cluster Mesh Advanced Installation Tip0 码力 | 1307 页 | 19.26 MB | 1 年前3
Cilium v1.8 Documentationallows Hubble Relay to communicate with all the Hubble instances in the cluster. Hubble CLI and Hubble UI in turn connect to Hubble Relay to provide cluster-wide networking visibility. Warning In Distributed enabled="{dns,drop,tcp,flow,port-distri --set global.hubble.relay.enabled=true \ --set global.hubble.ui.enabled=true Restart the Cilium daemonset to allow Cilium agent to pick up the ConfigMap changes: mode only) To validate that Hubble UI is properly configured, set up a port forwarding for hubble-ui service: kubectl port-forward -n $CILIUM_NAMESPACE svc/hubble-ui 12000:80 and then open http://localhost:12000/0 码力 | 1124 页 | 21.33 MB | 1 年前3
Cilium v1.7 Documentation$CILIUM_NAMESPACE \ --set metrics.enabled="{dns,drop,tcp,flow,port- distribution,icmp,http}" \ --set ui.enabled=true \ > hubble.yaml Deploy Hubble: kubectl apply -f hubble.yaml Next Steps Enable DNS $CILIUM_NAMESPACE \ --set metrics.enabled="{dns,drop,tcp,flow,port- distribution,icmp,http}" \ --set ui.enabled=true \ > hubble.yaml Deploy Hubble: kubectl apply -f hubble.yaml Next Steps Enable DNS $CILIUM_NAMESPACE \ --set metrics.enabled="{dns,drop,tcp,flow,port- distribution,icmp,http}" \ --set ui.enabled=true \ > hubble.yaml Deploy Hubble: kubectl apply -f hubble.yaml Next steps Now that you0 码力 | 885 页 | 12.41 MB | 1 年前3
Building a Secure and Maintainable PaaScommand to help with troubleshooting ❏ Features to expose network traffic flows to teams ❏ Hubble UI ❏ Network flow logs exported to logging stack ❏ Tracking network traffic to specific binaries 160 码力 | 20 页 | 2.26 MB | 1 年前3
Cilium v1.6 Documentationperformed. Once 1.9 is out for example, then this is no longer required for 1.8. Note, the DockerHub UI will not allow you to modify the stable tag directly. You will need to delete it, and then create a git checkout master; git pull git checkout -b v1.2 git push 2. Protect the branch using the GitHub UI to disallow direct push and require merging via PRs with proper reviews. 3. Replace the contents0 码力 | 734 页 | 11.45 MB | 1 年前3
Cilium v1.5 Documentationgit checkout master; git pull git checkout -b v1.2 git push Protect the branch using the GitHub UI to disallow direct push and require merging via PRs with proper reviews. Replace the contents of the0 码力 | 740 页 | 12.52 MB | 1 年前3
共 10 条
- 1













