You configure node resources through a controller on the node. The primary resource you will want to configure is the disk path for the node, which is where Couchbase Server persists items for the node. You must configure a disk path for a node prior to creating a new cluster or adding a node to an existing cluster.
Example as follows:
shell> curl -u admin:password -d path=/var/tmp/test http://localhost:8091/nodes/self/controller/settings
POST /nodes/self/controller/settings HTTP/1.1 Host: node.in.your.cluster:8091 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Authorization: Basic YWRtaW46YWRtaW4= Content-Length: xx path=/var/tmp/test
HTTP/1.1 200 OK Content-Type: application/json Content-Length: 0