Skip to content

Commit 7624397

Browse files
Vipin KumarVipin Kumar
authored andcommitted
added doc for enabling ebpf
1 parent 3ed5c61 commit 7624397

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
When attempting to deploy the agents to cluster nodes on RH CoreOS that have no public gateways enabled (and/or have outbound traffic disabled), the pods fail to come up with the error:
2+
```
3+
Download of sysdigcloud-probe for version 13.9.2 failed.
4+
curl: (28) Failed to connect to download.sysdig.com port 443: Connection timed out
5+
Cannot load the probe
6+
```
7+
8+
This happens because the agent tries to connect to the kernel and for that it needs a kernel module (default behaviour):
9+
- If not available in the machine already, it tries to build it with the kernel headers
10+
- if kernel headers not available, it tries to download it
11+
12+
To fix this, we need the ability to set the helm values `agent.ebpf.enabled` and `agent.ebpf.kind` if cluster is using nodes based on RHCOS by setting the terraform boolean input variable called `enable_universal_ebpf` to true. Enabling universal ebpf needs kernel version to be `5.8` or higher. RHEL8 already has the kernel headers and enabling `ebpf` will not cause any impact even though kernel version is `4.18`.

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,6 @@ variable "agent_limits_memory" {
235235

236236
variable "enable_universal_ebpf" {
237237
type = bool
238-
description = "Deploy sysdig agent with universal eBPF enabled. It requires kernel version 5.8+."
238+
description = "Deploy sysdig agent with universal eBPF enabled. It requires kernel version 5.8+. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-monitoring-agent/tree/main/solutions/fully-configurable/DA-docs.md)."
239239
default = true
240240
}

0 commit comments

Comments
 (0)