Hubble is a fully distributed networking and security observability platformfor cloud native workloads. It is built on top of Cilium and eBPF to enabledeep visibility into the communication and behavior of services as well as thenetworking infrastructure in a completely transparent manner.
Hubble can answer questions such as:
Service dependencies & communication map:
Operational monitoring & alerting:
Application monitoring:
Security observability:
The Linux kernel technology eBPF is enabling visibility into systems andapplications at a granularity and efficiency that was not possible before. Itdoes so in a completely transparent way, without requiring the application tochange or for the application to hide information. By building on top ofCilium, Hubble can leverage eBPF for visibility. By leveraging eBPF, allvisibility is programmable and allows for a dynamic approach that minimizesoverhead while providing deep and detailed insight where required. Hubble hasbeen created and specifically designed to make best use of these new eBPFpowers.
Since the release of v0.8, the Hubble CLI is backward compatible with allsupported Cilium releases. For this reason, only the latest Hubble CLI versionis maintained.
Version | Release Date | Maintained | Supported Cilium Version | Artifacts |
---|---|---|---|---|
v0.8 | 2021-09-10 (v0.8.2) | Yes | Cilium 1.10 and older | GitHub Release |
v0.7 | 2020-10-22 (v0.7.1) | No | Cilium 1.9 and older | GitHub Release |
v0.6 | 2020-05-29 (v0.6.1) | No | Cilium 1.8 | GitHub Release |
v0.5 | 2020-07-28 (v0.5.2) | No | Cilium 1.7 | GitHub Release |
Hubble project consists of several components (see Architecture section).
While the core Hubble components have been running in production in multipleenvironments, new components continue to emerge as the project grows andexpands in scope.
Some components, due to their relatively young age, are still considered betaand have to be used with caution in critical production workloads.
Component | Area | State |
---|---|---|
Hubble CLI | Core | Stable |
Hubble Server | Core | Stable |
Hubble Metrics | Core | Stable |
Hubble Relay | Multinode | Stable |
Hubble UI | UI | Beta |
Troubleshooting microservices application connectivity is a challenging task.Simply looking at "kubectl get pods" does not indicate dependencies betweeneach service or external APIs or databases.
Hubble enables zero-effort automatic discovery of the service dependency graphfor Kubernetes Clusters at L3/L4 and even L7, allowing user-friendlyvisualization and filtering of those dataflows as a Service Map.
See Hubble Service Map Tutorialfor more examples.
The metrics and monitoring functionality provides an overview of the state ofsystems and allow to recognize patterns indicating failure and other scenariosthat require action. The following is a short list of example metrics, for amore detailed list of examples, see theMetrics Documentation.
Flow visibility provides visibility into flow information on the network andapplication protocol level. This enables visibility into individual TCPconnections, DNS queries, HTTP requests, Kafka communication, and much more.
Identifying pods which have received DNS response indicating failure:
hubble observe --since=1m -t l7 -j \
| jq 'select(.l7.dns.rcode==3) | .destination.namespace + "/" + .destination.pod_name' \
| sort | uniq -c | sort -r
42 "starwars/jar-jar-binks-6f5847c97c-qmggv"
Successful query & response:
starwars/x-wing-bd86d75c5-njv8k kube-system/coredns-5c98db65d4-twwdg DNS Query deathstar.starwars.svc.cluster.local. A
kube-system/coredns-5c98db65d4-twwdg starwars/x-wing-bd86d75c5-njv8k DNS Answer "10.110.126.213" TTL: 3 (Query deathstar.starwars.svc.cluster.local. A)
Non-existent domain:
starwars/jar-jar-binks-789c4b695d-ltrzm kube-system/coredns-5c98db65d4-f4m8n DNS Query unknown-galaxy.svc.cluster.local. A
starwars/jar-jar-binks-789c4b695d-ltrzm kube-system/coredns-5c98db65d4-f4m8n DNS Query unknown-galaxy.svc.cluster.local. AAAA
kube-system/coredns-5c98db65d4-twwdg starwars/jar-jar-binks-789c4b695d-ltrzm DNS Answer RCode: Non-Existent Domain TTL: 4294967295 (Query unknown-galaxy.starwars.svc.cluster.local. A)
kube-system/coredns-5c98db65d4-twwdg starwars/jar-jar-binks-789c4b695d-ltrzm DNS Answer RCode: Non-Existent Domain TTL: 4294967295 (Query unknown-galaxy.starwars.svc.cluster.local. AAAA)
Successful request & response with latency information:
starwars/x-wing-bd86d75c5-njv8k:53410 starwars/deathstar-695d8f7ddc-lvj84:80 HTTP/1.1 GET http://deathstar/
starwars/deathstar-695d8f7ddc-lvj84:80 starwars/x-wing-bd86d75c5-njv8k:53410 HTTP/1.1 200 1ms (GET http://deathstar/)
Successful TCP connection:
starwars/x-wing-bd86d75c5-njv8k:53410 starwars/deathstar-695d8f7ddc-lvj84:80 TCP Flags: SYN
deathstar.starwars.svc.cluster.local:80 starwars/x-wing-bd86d75c5-njv8k:53410 TCP Flags: SYN, ACK
starwars/x-wing-bd86d75c5-njv8k:53410 starwars/deathstar-695d8f7ddc-lvj84:80 TCP Flags: ACK, FIN
deathstar.starwars.svc.cluster.local:80 starwars/x-wing-bd86d75c5-njv8k:53410 TCP Flags: ACK, FIN
Connection timeout:
starwars/r2d2-6694d57947-xwhtz:60948 deathstar.starwars.svc.cluster.local:8080 TCP Flags: SYN
starwars/r2d2-6694d57947-xwhtz:60948 deathstar.starwars.svc.cluster.local:8080 TCP Flags: SYN
starwars/r2d2-6694d57947-xwhtz:60948 deathstar.starwars.svc.cluster.local:8080 TCP Flags: SYN
Denied connection attempt:
starwars/enterprise-5775b56c4b-thtwl:37800 starwars/deathstar-695d8f7ddc-lvj84:80(http) Policy denied (L3) TCP Flags: SYN
starwars/enterprise-5775b56c4b-thtwl:37800 starwars/deathstar-695d8f7ddc-lvj84:80(http) Policy denied (L3) TCP Flags: SYN
starwars/enterprise-5775b56c4b-thtwl:37800 starwars/deathstar-695d8f7ddc-lvj84:80(http) Policy denied (L3) TCP Flags: SYN
Join the Cilium Slack #hubble channel to chatwith Cilium Hubble developers and other Cilium / Hubble users. This is a goodplace to learn about Hubble and Cilium, ask questions, and share yourexperiences.
Learn more about Cilium.
Hubble is an open source project licensed under the Apache License. Everybodyis welcome to contribute. The project is following the Governance Rules ofthe Cilium project. See CONTRIBUTING for instructions on how to contributeand details of the Code of Conduct.
前言 在HugeGraph官网上并没有关于HugeGraph-Hubble的安装配置,只有使用文档,所以对学习和开发人员不太友好。本文着重于HugeGraph-Hubble的安装和配置。 在进行安装之前,首先你需要安装HugeGraph的核心服务HugeGraph-server,可以参考我之前的文章hugegraph-server和HugeGraph-Hubble超详细安装部署教程
实时流式计算适用场最大的特点就是及时,试想以下场景,如果没有流式计算系统,公司会损失多少MONEY: 需要实时异常检测的欺诈/风控等系统 需要实时查看交易额的交易系统 需要实时计算点击/计算分成的广告系统 需要实时更新用户标签的实时用户画像系统 需要实时根据用户喜好推荐商品的实时推荐系统 再试想以上场景,如果核心技术不是国产自研的,信息风险会有多高? 大数据兴起之初,Hadoop并没有给出实时计算
98%的企业都面临数据孤岛问题,数据没标准、数据难统一、数据难打通、数据质量低。打通数据孤岛难度大周期长成本高,企业每年在糟糕的数据上多花费近25%的成本。 有痛点就有市场,数据湖应市而生。 为什么是数据湖而不是数据河或者数据海? 河强调的是流动性,而企业数据是需要长期沉淀的,因此叫湖比叫河要贴切。既是长期沉淀下来的数据,一定是海量数据,而且是多种类型的数据包括结构化、半结构化和非结构化。因此,数
真营销只有两种情况:一种是把你的产品卖给你的用户,另外一种是把你的品牌卖给你的用户。第一种当下就产生业务,第二种之后会产生业务。 营销的魅力不仅在于精准,更在于实时。这就像追求恋人一样,投其所好很重要,在正确的时间做正确的事更重要。 传统数据营销是通过分散数据源,提供数据采集、加工、处理、存储、应用等功能,采用统计汇总等方式实现KPI、报表、仪表盘等功能满足业领导宏观决策需要。对于新的业务场景,I
Hubble.net Demo 中文配置说明 Hubble.net Team 2009-11-30 · 第1步 安装 Hubble.net · 第2步 登录 Hubble.net 运行QueryAnalyzer 在 Server Name 中输入Hubble.net 服务所在Server 的IP 地址。 点 Login 进入下一步 · 第3步创建
有一双未卜先知的眼睛,城市里错综复杂的十字路口和成千上万的路段里路况都在它的视野里,并且它能提前告诉你5分钟后、10分钟后,乃至1个小时后的路况信息; 有这样一个全能机器管家,它能很好的感知设备性能的衰退、精度的缺失、易耗件的磨损和资源的浪费等,立体的给你呈现设备的所有信息; 有这样一个安全大咖,它可以360度感知全球气候异常情况,实时监测环境的不安全性,提前预防、实时预警。 这都是物联网的实际应
我们都知道匠人精神是什么,可是,在追逐效率与利益的纷杂市场中,它仍是稀缺物。 柏拉图说“美是难的”,匠人精神也是难的。 尤其在商业的世界里,商人的本能就会考虑它的成本与预期收益,需要投入多少时间和精力,回报是多少,风险有多高。与此同时,还要保障自己不被外界其他诱惑所干扰,保持初心一直向前更是难上加难。 1968年,第一个数据库管理系统(DBMS)上线,但他的代表企业Oracle是在1977年才开启
网易哈勃数据是新一代用户行为分析产品,定位于为用户提供全套的数据解决方案。主要特点包括: 实时多维分析:提供五种自定义分析模型,支持用户对产品进行深入分析 用户分析:从多种角度对用户进行分析,帮助产品深入洞察用户 数据看板:各个用户搭建属于自己的数据门户系统 数据资产沉淀:我们帮助产品方搭建数据属于自己的数据仓库,完美支持更多数据深度分析 主要功能包括: 应用统计:提供基本的数据统计指标,帮助产品
HubbleDotNet 是一个基于.net framework 的开源免费的全文搜索引擎组件。开源协议是 Apache 2.0。HubbleDotNet提供了基于SQL的全文检索接口,使用者只需会操作SQL,就可以很快学会使用HubbleDotNet进行全文检索。 HubbleDotNet可以实现全文索引和查询、多域检索和排序、分组统计、消重、分类、聚类、多表关联查询等等一系列全文检索和数据挖掘