From 4df36614cb4767ddfc26c842e29cf3b0957647ec Mon Sep 17 00:00:00 2001 From: Forest-L Date: Fri, 20 Nov 2020 19:05:27 +0800 Subject: [PATCH] update output format --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 001f05d..4e90bf0 100644 --- a/README.md +++ b/README.md @@ -45,17 +45,19 @@ make ## Example display ``` -root@node1:/home/ubuntu/go/src/kubeye# -./ke audit --kubeconfig /home/ubuntu/config +root@node1:/home/ubuntu/go/src/kubeye# ./ke audit --kubeconfig /home/ubuntu/config HEARTBEATTIME SEVERITY NODENAME REASON MESSAGE 2020-11-19 10:32:03 +0800 CST danger node18 NodeStatusUnknown Kubelet stopped posting node status. 2020-11-19 10:31:37 +0800 CST danger node19 NodeStatusUnknown Kubelet stopped posting node status. 2020-11-19 10:31:14 +0800 CST danger node2 NodeStatusUnknown Kubelet stopped posting node status. 2020-11-19 10:31:58 +0800 CST danger node3 NodeStatusUnknown Kubelet stopped posting node status. + NAME SEVERITY MESSAGE scheduler danger Get http://127.0.0.1:10251/healthz: dial tcp 127.0.0.1:10251: connect: connection refused + EVENTTIME NODENAME NAMESPACE REASON MESSAGE 2020-11-20 18:52:13 +0800 CST nginx-b8ffcf679-q4n9v.16491643e6b68cd7 default Failed Error: ImagePullBackOff + TIME NAME NAMESPACE KIND MESSAGE 2020-11-20T18:54:44+08:00 calico-node kube-system DaemonSet [{map[cpuLimitsMissing:{cpuLimitsMissing CPU limits should be set false warning Resources} runningAsPrivileged:{runningAsPrivileged Should not be running as privileged false warning Security}]}] 2020-11-20T18:54:44+08:00 kube-proxy kube-system DaemonSet [{map[runningAsPrivileged:{runningAsPrivileged Should not be running as privileged false warning Security}]}]