--- title: "Custom policies" slug: "custom-policies" updated: 2026-07-19T13:02:58Z published: 2026-07-19T13:02:58Z canonical: "docs.zesty.co/custom-policies" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zesty.co/llms.txt > Use this file to discover all available pages before exploring further. # Custom policies This topic describes how to create and edit a custom policy. ### Create a custom policy You create a custom policy by duplicating an existing built-in or custom policy in the cluster. When creating a custom policy, all parameters need to be explicitly defined. Duplicating a policy creates a new custom policy resource. The duplicate is editable because it is a custom policy, even if the original policy was built-in. **To create a custom policy**: 1. From the cluster, duplicate an existing built-in or custom policy. 2. (Optional) Change parameters. 3. Save the policy with a new name. ### Edit or delete a custom policy When you edit policy parameters, those changes will affect future orchestrations. Running workloads will not be affected until the next orchestration. You can delete a custom policy only if it is not assigned to any active workloads. If you attempt to delete a custom policy that is assigned to workloads, the delete operation is blocked with a validation error. The error indicates how many workloads are still assigned to the policy and provides a way to view which workloads they are. To edit or delete a policy, update the policy YAML in the cluster.