Skip to content

Commit

Permalink
Artifact Hub: publish gadgets
Browse files Browse the repository at this point in the history
Signed-off-by: Alban Crequy <albancrequy@linux.microsoft.com>
  • Loading branch information
alban committed Mar 25, 2024
1 parent b586c01 commit 4d6bc4b
Show file tree
Hide file tree
Showing 19 changed files with 460 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
[![Inspektor Gadget Test Reports](https://img.shields.io/badge/Link-Test%20Reports-blue)](https://inspektor-gadget.github.io/ig-test-reports)
[![Inspektor Gadget Benchmarks](https://img.shields.io/badge/Link-Benchmarks-blue)](https://inspektor-gadget.github.io/ig-benchmarks/dev/bench)
[![Release](https://img.shields.io/github/v/release/inspektor-gadget/inspektor-gadget)](https://github.com/inspektor-gadget/inspektor-gadget/releases)
[![Artifact Hub: Gadgets](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/gadgets)](https://artifacthub.io/packages/search?repo=inspektor-gadgets)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/gadget)](https://artifacthub.io/packages/search?repo=gadget)
[![Slack](https://img.shields.io/badge/slack-%23inspektor--gadget-brightgreen.svg?logo=slack)](https://kubernetes.slack.com/messages/inspektor-gadget/)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/inspektor-gadget/inspektor-gadget/blob/main/LICENSE)
Expand Down
7 changes: 7 additions & 0 deletions artifacthub-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Artifact Hub repository metadata file
# https://github.com/artifacthub/hub/blob/master/docs/metadata/artifacthub-repo.yml

repositoryID: a4a4aff7-52f0-43f9-93a5-0749f53bc898
owners:
- name: The Inspektor Gadget authors
email: hello@inspektor-gadget.io
4 changes: 4 additions & 0 deletions docs/devel/hello-world-gadget.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ If you want to create a new repository for your gadget, you can use the [gadget-
repository](https://github.com/inspektor-gadget/gadget-template). This is a
[GitHub tempate repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
You can also look for examples in gadgets published on Artifact Hub:
[![Artifact Hub: Gadgets](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/gadgets)](https://artifacthub.io/packages/search?repo=inspektor-gadgets)
## Starting from scratch
If you already have a git repository for your project and want to add a gadget
Expand Down
28 changes: 28 additions & 0 deletions gadgets/ci/sched_cls_drop/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "sched_cls_drop"
category: monitoring-logging
displayName: "sched_cls_drop"
createdAt: "2024-03-25T14:32:05+01:00"
description: "gadget used by the CI"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/sched_cls_drop:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/sched_cls_drop:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/snapshot_process/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "snapshot process"
category: monitoring-logging
displayName: "snapshot process"
createdAt: "2024-03-25T14:32:05+01:00"
description: "Show running processes"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/snapshot_process:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/snapshot_process:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/snapshot_socket/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "snapshot socket"
category: monitoring-logging
displayName: "snapshot socket"
createdAt: "2024-03-25T14:32:05+01:00"
description: "Show TCP and UDP sockets"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/snapshot_socket:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/snapshot_socket:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/top_file/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "top file"
category: monitoring-logging
displayName: "top file"
createdAt: "2024-03-25T14:32:05+01:00"
description: "Periodically report read/write activity by file"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/top_file:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/top_file:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/trace_dns/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "trace dns"
category: monitoring-logging
displayName: "trace dns"
createdAt: "2024-03-25T14:32:05+01:00"
description: "trace dns requests and responses"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/trace_dns:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/trace_dns:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/trace_exec/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "trace exec"
category: monitoring-logging
displayName: "trace exec"
createdAt: "2024-03-25T14:32:05+01:00"
description: "trace process executions"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/trace_exec:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/trace_exec:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/trace_malloc/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "trace malloc"
category: monitoring-logging
displayName: "trace malloc"
createdAt: "2024-03-25T14:32:05+01:00"
description: "use uprobe to trace malloc and free in libc.so"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/trace_malloc:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/trace_malloc:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/trace_mount/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "trace mount"
category: monitoring-logging
displayName: "trace mount"
createdAt: "2024-03-25T14:32:05+01:00"
description: "trace mount syscalls"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/trace_mount:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/trace_mount:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/trace_oomkill/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "trace oomkill"
category: monitoring-logging
displayName: "trace oomkill"
createdAt: "2024-03-25T14:32:05+01:00"
description: "trace OOM killer"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/trace_oomkill:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/trace_oomkill:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/trace_open/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "trace open"
category: monitoring-logging
displayName: "trace open"
createdAt: "2024-03-25T14:32:05+01:00"
description: "trace open files"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/trace_open:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/trace_open:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/trace_signal/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "trace signal"
category: monitoring-logging
displayName: "trace signal"
createdAt: "2024-03-25T14:32:05+01:00"
description: "trace signal"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/trace_signal:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/trace_signal:latest
```
provider:
name: Inspektor Gadget
28 changes: 28 additions & 0 deletions gadgets/trace_sni/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Artifact Hub package metadata file
version: 0.26.0
name: "trace sni"
category: monitoring-logging
displayName: "trace sni"
createdAt: "2024-03-25T14:32:05+01:00"
description: "trace sni"
logoURL: "https://inspektor-gadget.io/media/brand-icon.svg"
license: ""
homeURL: "https://inspektor-gadget.io/"
containersImages:
- name: gadget
image: "ghcr.io/inspektor-gadget/gadget/trace_sni:latest"
platforms:
- linux/amd64
- linux/arm64
keywords:
- gadget
links:
- name: source
url: "https://github.com/inspektor-gadget/inspektor-gadget/"
install: |
# Run
```bash
sudo IG_EXPERIMENTAL=true ig run ghcr.io/inspektor-gadget/gadget/trace_sni:latest
```
provider:
name: Inspektor Gadget
Loading

0 comments on commit 4d6bc4b

Please sign in to comment.