docs/ee/ucp/admin/configure/restrict-services-to-worker...

1.3 KiB

title description keywords ui_tabs
Restrict services to worker nodes Learn how to configure Universal Control Plane to only allow running services in worker nodes. ucp, configuration, worker
version orhigher
ucp-3.0 false
version orlower
ucp-2.2 true

{% if include.version=="ucp-3.0" %}

You can configure UCP to allow users to deploy and run services only in worker nodes. This ensures all cluster management functionality stays performant, and makes the cluster more secure.

If a user deploys a malicious service that can affect the node where it is running, it won't be able to affect other nodes in the cluster, or any cluster management functionality.

To restrict users from deploying to manager nodes, log in with administrator credentials to the UCP web UI, navigate to the Admin Settings page, and choose Scheduler.

{: .with-border}

You can then choose if user services should be allowed to run on manager nodes or not.

Having a grant with the Scheduler role against the / collection takes precedence over any other grants with Node Schedule on subcollections.

{% elsif include.version=="ucp-2.2" %}

Learn about restricting services to worker nodes.

{% endif %}