add deploy func to nodecluster