Skip to content

Instantly share code, notes, and snippets.

@bheesham
Created February 25, 2020 18:47
Show Gist options
  • Save bheesham/b2993ad47ab8b870386fdc412cd476f9 to your computer and use it in GitHub Desktop.
Save bheesham/b2993ad47ab8b870386fdc412cd476f9 to your computer and use it in GitHub Desktop.
update kube-state-metrics roles
awk -e '/reflector.go:156.*Failed to/ {match($0, /cannot (\w+) resource "([^"]+)" in API group "([^"]+)"/, m); print m[1], m[2], m[3]}' logs | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment