3 ms·
Better yet, kubectl can take a jsonpath expression to select from the JSON. For example, to just get a name: kubectl get something -o jsonpath='{.items[*].me
by majewsky 6y ago
Better yet, kubectl can take a jsonpath expression to select from the JSON. For example, to just get a name:
kubectl get something -o jsonpath='{.items[*].metadata.name}'