# How to Edit a Listener in Kubernetes Load Balancer?

To edit a listener 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%2F1xMdrd6Iat98awuYpyeC%2Fimage.png?alt=media&#x26;token=a08f2457-e3ef-41cc-aa33-30ce4020a980" 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%2F95boJ0YHOE86LSKUAueo%2Fimage.png?alt=media&#x26;token=52a35f46-445c-455d-9b25-b05ac6f1a44b" 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%2FGgT1OTL72RAJN1gaxBZY%2Fimage.png?alt=media&#x26;token=7f1aa3e1-8e88-4c9f-a379-e26f23b37ed4" 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&#x26;token=969c4ff9-1398-4638-a665-196472633bc4" alt=""><figcaption></figcaption></figure>

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

<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&#x26;token=7759ad63-285e-4286-8acb-9a4698a6c347" alt=""><figcaption></figcaption></figure>

**Step 6:** Go to **Listener** tab and click on three dots against the listener you want to edit.

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2FwlFI16nxItHy6xOd1e8E%2Fimage.png?alt=media&#x26;token=bb97a9a6-4c52-4029-a70d-d0ac9b16c718" alt=""><figcaption></figcaption></figure>

**Step 7:** Click on **Edit.**

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2Fw97Xmsk1KYhFcGmR6nor%2Fimage.png?alt=media&#x26;token=9d597d22-3006-4f37-b9f9-0e44cf755469" alt=""><figcaption></figcaption></figure>

**Step 8:** Update the details and click on **Edit Listener**.

<figure><img src="https://611918185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZE65sl2QJgZthXIMR4N7%2Fuploads%2FeRM8WaVSdU3w59t1jceb%2Fimage.png?alt=media&#x26;token=58aa507d-aadd-4459-9d70-cfd4bbc8fe66" alt=""><figcaption></figcaption></figure>

| **Field**              | **Description**                                                                                                                                                                                           |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name                   | Enter the name of the Listener.                                                                                                                                                                           |
| Description            | Enter the description of the Listener.                                                                                                                                                                    |
| Protocol               | <p>Select a protocol for the listener from the below options:</p><ol start="1"><li>HTTP</li><li>HTTPS</li><li>TCP</li><li>UDP</li><li>SCTP</li></ol>                                                      |
| Port\*                 | The protocol port number for the resource.                                                                                                                                                                |
| Client Data Timeout    | Enter client inactivity timeout in milliseconds. The default is 50000.                                                                                                                                    |
| TCP Inspect Timeout    | Enter time, in milliseconds, to wait for additional TCP packets for content inspection. The default is 0.                                                                                                 |
| Member Connect Timeout | Enter member connection timeout in milliseconds. The default is 5000.                                                                                                                                     |
| Member Data Timeout    | Enter member inactivity timeout in milliseconds. The default is 50000.                                                                                                                                    |
| Allowed CIDRs          | Enter a list of IPv4, IPv6 or mix of both CIDRs.                                                                                                                                                          |
| Connection Limit\*     | The maximum number of connections permitted for this listener. Default value is -1 which represents infinite connections.                                                                                 |
| Insert Headers         | <p>Select the headers to insert into the request before it is sent to the member from the below option:</p><ol start="1"><li>X-Forwarded-For</li><li>X-Forwarded-Port</li><li>X-Forwarded-Proto</li></ol> |
