Skip to content

Commit

Permalink
chore: update job yaml (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan authored May 9, 2024
1 parent 01144b0 commit 31c32e6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@

The k8s-Node-collector is an open-source collector that gathers Node information (file system and process data) from Kubernetes nodes and outputs it in a JSON format.

## Installation

```sh
git clone [email protected]:aquasecurity/k8s-node-collector.git
cd k8s-node-collector/cmd/node-collector
GOOS=linux GOARCH=arm64 go build -o node-collector main.go
```

## Executing node-collector binary

```sh
./node-collector k8s
```

## Executing Collector specifications

The node-collector executes a collector specification,example [k8s-cis-1.23.0](./pkg/collector/config/specs/k8s-cis-1.23.0.yaml).
Expand Down
4 changes: 3 additions & 1 deletion job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ spec:
serviceAccountName: node-collector
containers:
- name: node-collector
image: ghcr.io/aquasecurity/node-collector:0.1.1
image: ghcr.io/aquasecurity/node-collector:0.2.0
command:
- node-collector
args:
- k8s
- --node
- kind-control-plane
resources:
limits:
cpu: 100m
Expand Down

0 comments on commit 31c32e6

Please sign in to comment.