jq '.spec.replicas'

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