jq '"replicas: " + (.spec.replicas | tostring) + " kind: " + .kind'
cat data/s1.json
cat data/s1.json | jq '"replicas: " + (.spec.replicas | tostring) + " kind: " + .kind'
{ "kind": "Deployment", "spec": { "replicas": 1 } }
"replicas: 1 kind: Deployment"