The most relevant changes for this version are:
- run: Support endpoint enrichment by @mauriciovasquezbernal in #1825
- Dockerfiles: Make CO-RE the default and set previous default as bcc. by @eiffel-fl in #1998
- run: Support gadgets with Attacher interface (networking gadgets) by @alban in #2003
- Replaced all libseccomp usage by @amitschendel in #2054
- ig: add daemon mode by @flyth in #2078
Other changes are:
General Improvements
- Refactoring Kubernetes labels by @nlamirault in #1999
- Socket enricher for containerized gadgets by @alban in #1997
- Add IPv6 support to
snapshot socketby @eiffel-fl in #1812 - gadgets/run: Generalize logic by @mauriciovasquezbernal in #2012
- cmd: Permit deploying bcc flavor by @eiffel-fl in #2009
- pkg/container-utils: Prepend host path when using custom socket path. by @eiffel-fl in #2016
- Tune up ebpf builder image by @mauriciovasquezbernal in #2031
- Create include folder with all header files exposed by IG by @mauriciovasquezbernal in #2022
- Removing libseccomp installations and disabling CGO by @amitschendel in #2063
- pkg: Remove vmlinux-cgo.h. by @eiffel-fl in #2061
- pkg/traceloop: Use upstream PT_REGS_PARM6_CORE_SYSCALL. by @eiffel-fl in #2062
- btfgen: Embed btf generated files into the binary by @mauriciovasquezbernal in #2044
- Dockerfiles: Remove C cross compiler and C libraries. by @eiffel-fl in #2064
- Disable cgo explicitly by @mauriciovasquezbernal in #2069
- examples/dns: Add missing call to host.Init() by @mauriciovasquezbernal in #2075
- cmd: Introduce runtime and k8s columns by @mqasimsarfraz in #2056
- pkg/gadget-service: migrate gRPC API of the gadget-service to a separate package by @flyth in #2067
- pkg: Add missing Description for some ParamDesc by @eiffel-fl in #2079
- ig: Make container-hook optional by @mauriciovasquezbernal in #2071
- Remove C compilers from ig related Dockerfiles by @eiffel-fl in #2082
- Dockerfiles: Deactivate CGO for ig related Dockerfiles. by @eiffel-fl in #2090
- cmd: Relative columns and expanding runtime/k8s by @mqasimsarfraz in #2080
Bug Fixes
- Fix tcpretrans gadget by @mauriciovasquezbernal in #2010
- gadgets: fix ipv6 printing by @mauriciovasquezbernal in #2014
- ci: Fix uploading ig container image as artifact by @mauriciovasquezbernal in #2043
- traceloop: Fix logic around syscalls by @mauriciovasquezbernal in #2060
- runtimes/grpc: Fix connection leakage by @mauriciovasquezbernal in #2092
- pkg/helpers: Fix logic to detect if kernel supports bpf_ktime_get_boo… by @eiffel-fl in #2083
Documentation Improvements
- docs: Update container runtime documentation by @mqasimsarfraz in #1979
- docs: Replace linkds to linux.die.net by @mauriciovasquezbernal in #2057
Testing and Continue Integration
- ci: Add actionlint job. by @eiffel-fl in #1947
- integration: Skip top block-io tests on kernels >= 5.17 by @mauriciovasquezbernal in #2030
- ci: Use federated credential to login to Azure. by @eiffel-fl in #2013
New Contributors
- @nlamirault made their first contribution in #1999
- @amitschendel made their first contribution in #2054
Statistics
The current release adds 6605 new lines and removed 2809.
The new lines represente one step closer to containerized gadgets.
Inspektor Gadget is built on top of the following languages:
| Language | files | blank | comment | code |
|---|---|---|---|---|
| C/C++ Header | 41 | 33245 | 366 | 250248 |
| Go | 545 | 11952 | 12718 | 61802 |
| Markdown | 92 | 2228 | 0 | 7897 |
| SVG | 8 | 1 | 2 | 5177 |
| C | 38 | 1133 | 748 | 5014 |
| YAML | 73 | 130 | 396 | 3568 |
| make | 16 | 155 | 73 | 642 |
| Bourne Shell | 24 | 119 | 181 | 358 |
| JSON | 5 | 0 | 0 | 219 |
| Dockerfile | 12 | 82 | 61 | 200 |
| Protocol Buffers | 2 | 33 | 45 | 85 |
| Perl | 1 | 18 | 13 | 54 |
| Bourne Again Shell | 1 | 4 | 3 | 16 |
| -------- | -------- | -------- | -------- | -------- |
| SUM: | 858 | 49100 | 14606 | 335280 |
Full Changelog: v0.20.0...v0.21.0