Read a field value yq

Extract a single field from YAML

yq '.spec.replicas' deployment.yaml
#yq