Skip to content

Instantly share code, notes, and snippets.

@TBeijen
Created July 29, 2022 08:25
Show Gist options
  • Save TBeijen/70e1fd372ac269adec8a0c9f24582216 to your computer and use it in GitHub Desktop.
Save TBeijen/70e1fd372ac269adec8a0c9f24582216 to your computer and use it in GitHub Desktop.
JQ Fu (cheat sheet)
# List EKS addons AWS considers default for given cluster cersion
aws eks describe-addon-versions |jq '.addons[] | del(.addonVersions[].compatibilities[] | select(.clusterVersion != "1.22" or .defaultVersion != true) ) | del(.addonVersions[] | select(.compatibilities | length == 0) )'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment