jq ' .replicas'

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