eraser icon indicating copy to clipboard operation
eraser copied to clipboard

Failed to perform collection on k3s cluster nodes

Open cryptaliagy opened this issue 2 years ago • 5 comments

What steps did you take and what happened: [A clear and concise description of what the bug is.]

Attempted to install Eraser on cluster running k3s, and although the manager was able to successfully run, all collectors failed. This failed using both the manifest and the helm installation process, for versions v0.5.0 and v0.4.0, as well as for the manifest installation v1.0.0-beta.3.

All version experienced the same error logs on the collector pods:

Defaulted container "collector" out of: collector, eraser, trivy-scanner
{"level":"error","ts":1674667563.8705308,"logger":"collector","msg":"failed to get image client","error":"rpc error: code = Unimplemented desc = unknown service runtime.v1.RuntimeService\nrpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService","stacktrace":"main.main\n\t/workspace/pkg/collector/collector.go:60\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}

What did you expect to happen:

Eraser to set up image cleaning

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

  • Eraser version: v0.4.0, v0.5.0, v1.0.0-beta.3
  • Kubernetes version: (use kubectl version): Client Version: v1.25.2 Kustomize Version: v4.5.7 Server Version: v1.25.4+k3s1

cryptaliagy avatar Jan 25 '23 17:01 cryptaliagy