- Home
- Operations Guide
- Administer an MKE cluster
- Add labels to cluster nodes
- Add or remove a service constraint using the MKE web UI
Add or remove a service constraint using the MKE web UI#
You can declare the deployment constraints in your docker-compose.yml
file or when you create a stack. Also, you can apply constraints when
you create a service.
To add or remove a service constraint:
-
Verify whether a service has deployment constraints:
-
Navigate to the Services page and select that service.
-
In the details pane, click Constraints to list the constraint labels.
-
-
Edit the constraints on the service:
-
Click Configure and select Details to open the Update Service page.
-
Click Scheduling to view the constraints.
-
Add or remove deployment constraints.
-