OS Manuals

/usr/bin/check_for_default_ns.sh

Tests Kubernetes clusters for adherence to security best practices using kube-bench

From rancher-security-scan-0.6 0.6.11-r1 (enterprise-packages), captured 2026-11-09 by running check_for_default_ns.sh --help (exit 0) · terse output. permalink

E1109 15:16:53.570343       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
E1109 15:16:53.571405       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
E1109 15:16:53.574799       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
E1109 15:16:53.575375       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
E1109 15:16:53.577247       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
The connection to the server localhost:8080 was refused - did you specify the right host or port?
true

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.