In order to realize the unified optimal resource service management (RSM) in cloud manufacturing (CMfg), the resource services characteristics were studied as well as the role of knowledge in the whole resource services life cycle. A RSM mechanism based on knowledge was put forward. A knowledge base system construction method was designed for the RSM in CMfg. The RSM process was analyzed. Finally, a prototype system was developed to validate the proposed method.