> For the complete documentation index, see [llms.txt](https://docs.acecloud.ai/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acecloud.ai/knowledge-base/kubernetes/how-to-edit-a-l7-policy.md).

# How to Edit a L7 Policy?

To edit a L7 Policy in Kubernetes load balancer, follow the steps given below:

**Step 1:** [Login](https://customer.acecloudhosting.com/index.php?m=ace_product_register_addon\&action=login) to your account.&#x20;

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2FqdpRbQcRug2LeXBKOKE2%2Fimage.png?alt=media&amp;token=d3fd6836-685a-493b-9abe-b0cf66355874" alt=""><figcaption></figcaption></figure>

**Step 2:** Navigate to **Services** and then click on **My Services.**

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2F39YkrvuQ7l8V5dflR782%2Fimage.png?alt=media&amp;token=546cc881-c905-4b7b-a713-ce0b26b2ac02" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on your project.

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2FOb3UQx4PNS5WRNvDadzN%2Fimage.png?alt=media&amp;token=5a73fae3-5f70-44ed-a8cb-99be28e100a6" alt=""><figcaption></figcaption></figure>

**Step 4:** Navigate to **Kubernetes** and then click on **K8s Load Balancer**.

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2Fg78jbwIhhrjzGX0K7uwm%2Fimage.png?alt=media&amp;token=969c4ff9-1398-4638-a665-196472633bc4" alt=""><figcaption></figcaption></figure>

**Step 5:** Click on the load balancer name for which you want to edit L7 Policy.

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2FtP7uaQbEaIdVaQzuD7vq%2Fimage.png?alt=media&amp;token=7759ad63-285e-4286-8acb-9a4698a6c347" alt=""><figcaption></figcaption></figure>

**Step 6:** Go to **Listener** tab and click on the listener's name for which you want to edit L7 Policy.

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2FVmtw22ke6aJcsi6tQvbe%2Fimage.png?alt=media&amp;token=4c0c2f15-c72c-42f7-9fc1-ab15bd3fd44e" alt=""><figcaption></figcaption></figure>

**Step 7:** Go to the **L7 Policies** tab and click on three dots against the policy you want to edit.

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2FK63e4qr7bg8zBPqiNfEV%2Fimage.png?alt=media&amp;token=1ea901d9-baa9-4e94-bbd9-290545b99df5" alt=""><figcaption></figcaption></figure>

**Step 8:** Click on **Edit L7 Policy**

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2FrpOOJwl1AD6BLRGMb70e%2Fimage.png?alt=media&amp;token=e7c9eaa2-6e52-45e9-a886-c32a2c4171ae" alt=""><figcaption></figcaption></figure>

**Step 9:** Update the details and click on **Submit**.

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2F183txC0K5FsxH1QFO5vi%2Fimage.png?alt=media&amp;token=650f1cad-f924-4758-9be6-cc6d62dbda33" alt=""><figcaption></figcaption></figure>

| Field       | Description                                                              |
| ----------- | ------------------------------------------------------------------------ |
| Name        | Enter the name for L7 Policy.                                            |
| Description | Enter the description for L7 Policy.                                     |
| Action\*    | Select Reject as the L7 policy action.                                   |
| Position    | Enter the position of this policy on the listener. Positions start at 1. |
