Kindling
Overview and Concepts
Overview
Trace Profiling
RPC Trace
Roadmap
Prometheus vs. Kindling vs. APM
How Kindling Agent is going to evolve
Installation
Kindling Agent
Requirements
Install Kindling in Kubernetes
Setting up Grafana
FAQ
Download Linux kernel headers
Usage
How to enable Trace Profiling
Prometheus Metrics Description
Use Cases
Service Map and Performance
Observe Java Lock
Developer Guide
Architecture
Build Kindling container image from source codes
Kindling agent-libs 用户态空间数据流
Kindling agent-libs内核态空间数据流
Kindling collector 流水线数据传递流程
Add new eBPF hooks
Kindling probe核心流程
Developer FAQ
Reference
Kindling Java Agent
Overview
Modifications of async-profiler
async-profiler 改造点
Trace Profiling Operation Manual
本文档使用 MrDoc 发布
-
+
home page
FAQ
## 1. Error: Precompiled module at /opt/.kindling/ is not found ### Problem description and logs ```c ## If the kindling pod is not running normally, ## we can use the following command to view the log kubectl logs --tail=100 -f kindling-agent-xxxx -c kindling-probe -n kindling * Mounting debugfs * Failure to find a BPF probe, try to load kernel probe * Unloading kindling-falcolib-probe, if present * Trying to find precompiled kindling-falcolib-probe for 4.19.1-1.el7.elrepo.x86_64 * Error: Precompiled module at /opt/.kindling/ is not found, and the agent will not work as expected Start kindling probe... KINDLING_PROBE_VERSION: v0.1-2021-1221 Unable to load the driver kindling probe init err: error opening device /host/dev/kindling-falcolib0. Make sure you have root credentials and that the kindling-falcolib ``` ### Solution 1. You must install the kernel headers manually first. **For Debian-style distributions,** run the command: ```bash apt-get -y install linux-headers-$(uname -r) ``` **For RHEL-style distributions,** run the command: ```bash yum -y install kernel-devel-$(uname -r) ``` Of course, you can also [download RPM files](http://www.kindling.space:33215/project-1/doc-36/) manually to install the header files. 2. Rebuild the Kindling Agent image. ```bash bash -c "$(curl -fsSL https://k8s-bpf-probes-public.oss-cn-hangzhou.aliyuncs.com/recompile-module.sh)" ``` The product of this step is an image. Please ensure that the image can be accessed by the k8s cluster node. Maybe you can upload the image to a private harbor, or compress it and distribute it to each node of the k8s cluster. (You should set the imagePullPolicy of kindling-agent to `ifNotPresent` when compress and distribute image.) 3. Finally, modify the image name of Kindling Agent: ```bash kubectl set image ds/kindling-agent kindling-agent=kindlingproject/kindling-probe:bymyself -n kindling ``` ## 2. Error: Prometheus cannot match error ### Problem description and logs ``` ## After executing the script install.sh. The following error occurred error: unable to recognize "kindling-prometheus-servicemonitor.yml": no matches for kind "ServiceMonitor" in version"monitoring.coreos.com/v1" ``` ### Solution If you have not installed Prometheus, please visit [Prometheus-Operator ](https://github.com/prometheus-operator/prometheus-operator)to install it. If you have installed Prometheus without operator, please ignore this error and manually configure the exposed metrics URL of Kindling Agent in Prometheus.The url is `localhost:9500/metrics`. ## 3. kindling probe init err: xxxxxx: Permission denied ### Problem description and logs ```c kindling probe init err: can't create map: Permission denied ``` or ```c insmod error:cloud not insert xxx.ko:Permission denied ``` ### Solution - Confirm that the kindling agent has enabled the privileged mode. - Confirm that SELinux is turned off on the node where the kindling agent is located. See details at [Disabling SELinux](https://www.ibm.com/docs/ja/ahts/4.0?topic=t-disabling-selinux). - Confirm that CRI is running with root privileges.
xieyun
Nov. 15, 2022, 3:54 p.m.
Share documents
Collection documents
Last
Next
Scan wechat
Copy link
Scan your mobile phone to share
Copy link
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
share
link
type
password
Update password