Skip to content

Instantly share code, notes, and snippets.

@vaxinate
Created August 19, 2019 17:47
Show Gist options
  • Save vaxinate/6d61a246d5c807431803e7dff176222d to your computer and use it in GitHub Desktop.
Save vaxinate/6d61a246d5c807431803e7dff176222d to your computer and use it in GitHub Desktop.
list deis deployments and their mem requests/limits
kubectl get deploy -A -l heritage=deis -o jsonpath='{range .items[*]}{.metadata.name}{\'\\t\'}{.spec.template.spec.containers[0].resources.requests.memory}/{.spec.template.spec.containers[0].resources.limits.memory}{\'\\n\'}{end}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment