/clusters/{clusterName}/autoAssignRoles
Mount Point: /api/v16/clusters/{clusterName}/autoAssignRoles
PUT
Automatically assign roles to hosts and create the roles for all the services in a cluster.
Assignments are done based on services and hosts in the cluster, and hardware specifications. If no hosts are added to the cluster, an exception will be thrown preventing any role assignments. Existing roles will be taken into account and their assignments will be not be modified.
Available since API v6.
Parameters
name | description | type | default |
---|---|---|---|
clusterName | The name of the cluster. | path |