From 434ddc4fa423443b7e9e9a6f624e8569f43128ab Mon Sep 17 00:00:00 2001 From: chenk Date: Wed, 4 Jan 2023 11:42:32 +0200 Subject: [PATCH] release: prepare v0.0.3 (#26) Signed-off-by: chenk Signed-off-by: chenk --- README.md | 11 ++++++++--- job.yaml | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5c0e6e2..3228bdd 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ k8s-Node-collector is an open source collector who collect Node information (fs kubectl apply -f job.yaml ``` -* Check k8s pod status +- Check k8s pod status ``` kubectl get pods @@ -24,18 +24,21 @@ NAME READY STATUS RESTARTS AGE node-collector-ng2z7 0/1 Completed 0 6m13s ``` -* Check k8s pod audit output +- Check k8s pod audit output ``` kubectl logs node-collector-ng2z7 ``` -* json output +- json output ```json { "apiVersion": "v1", "kind": "NodeInfo", + "metadata":{ + "creationTimestamp":"2023-01-04T11:37:11+02:00" + }, "type": "master", "info": { "adminConfFileOwnership": { @@ -310,7 +313,9 @@ kubectl logs node-collector-ng2z7 } } ``` + * job cleanup + ``` kubectl delete -f job.yaml ``` diff --git a/job.yaml b/job.yaml index 1c1e40c..dea69aa 100644 --- a/job.yaml +++ b/job.yaml @@ -12,7 +12,7 @@ spec: hostPID: true containers: - name: node-collector - image: ghcr.io/aquasecurity/node-collector:0.0.2 + image: ghcr.io/aquasecurity/node-collector:0.0.3 command: ["node-collector"] volumeMounts: - name: var-lib-etcd