Add resource_config to specify CPU and menory