Skip to content

Instantly share code, notes, and snippets.

@lioneltchami
Created July 25, 2022 08:20
Show Gist options
  • Select an option

  • Save lioneltchami/0c1b308e988672307ce36f4990375aaa to your computer and use it in GitHub Desktop.

Select an option

Save lioneltchami/0c1b308e988672307ce36f4990375aaa to your computer and use it in GitHub Desktop.
$ kubectl get pod -l app.kubernetes.io/name=nginx -o jsonpath='{.items[0].spec.containers[0].image}'
nginx:1.21.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment