Inspektor Gadget v0.10.0 Release Notes.
Welcome to this new release of Inspektor Gadget. The most relevant changes:
- We make use of
columnspackage to make our command line interface better! - We improve
local-gadgetby adding more gadgets to this tool. This release enables you to trace capabilities usage of your containers as well as out of memory event they can generate and last but not least the signal they send!
Other changes are:
General Improvements
- cmd/deploy: Add container socketpath configuration (#1021)
- capabilities: add --unique flag (#1032)
- capabilities: remove CAP_ prefix (#1035)
- pkg/columns: add support for column templates (#1037)
- pkg/types: register column templates (#1048)
- pkg/types: move column template registration into init() (#1051)
- pkg/gadgets/...: replace column information with template where applicable (#1049)
- pkg/columns: improve performance of sort & filter (#1081)
- pkg/columns: fix handling of fields with alternative type definitions (#1085)
Bug Fixes
- pkg/runcfanotify: Fix bug and improve detection logic (#1033)
- cmd/kubectl-gadget/trace: Fix naming on DNS gadget (#1054)
- runc-fanotify: close correctly in error cases (#1078)
Documentation Improvements
- Improve
local-gadgetdocumentation (#1006) - Add installation instruction for local-gadget (#1014)
- capabilities: update documentation (#1039)
Testing and Continuous Integration
- integration-tests: add integration test for local-gadget (#946)
- trace/capabilities: Implement unit tests (#972)
- integration-tests: Fix Opensnoop test again (#1022)
- trace/capabilities: Implement units tests for unique flag (#1036)
- integration-tests/networkgraph: Add network gadget test (#1046)
- integrationtest/TestEbpftop: Validate json output (#1079)
- integrationtest/TestFiletop: Validate json output (#1077)
- integrationtest/TestBiotop: Validate json output (#1080)
- integrationtest/TestSocketCollector: Validate json output (#1083)
- integration-tests: Use JSON output format for TestSnisnoop (#1090)
- integrationtest/TestProcessCollector: Validate json output (#1087)
- Unit and Integrationtests for
profilegadgets (#1089) - ci: Add integration tests for exec/signal/tcp trace gadgets (#1062)
Statistics
With regard to v0.9.1, we modified 311 files, added 3557 lines of code while removing 5998.
We were able to remove so much lines by using the columns package for many of our gadgets!
As today, Inspektor Gadget relies on the following languages:
| Language | files | blank | comment | code |
|---|---|---|---|---|
| C/C++ Header | 31 | 27934 | 96 | 208796 |
| Go | 359 | 7591 | 8358 | 36107 |
| Markdown | 79 | 1423 | 0 | 5407 |
| C | 26 | 608 | 303 | 2471 |
| YAML | 46 | 68 | 165 | 2023 |
| SVG | 4 | 0 | 1 | 518 |
| make | 11 | 102 | 45 | 410 |
| Bourne Shell | 21 | 111 | 183 | 343 |
| Perl | 1 | 18 | 13 | 54 |
| Protocol Buffers | 1 | 16 | 17 | 45 |
| JSON | 3 | 0 | 0 | 45 |
| Bourne Again Shell | 1 | 4 | 3 | 17 |
| Dockerfile | 2 | 6 | 2 | 16 |
| -------- | -------- | -------- | -------- | -------- |
| SUM: | 587 | 37881 | 24143 | 256288 |
New Contributors
- @burak-ok made their first contribution in #977
- @anubhabMajumdar made their first contribution in #1053
Full Changelog: v0.9.1...v0.10.0