get the name of a cluster node, parsing the yaml