# Services

In Kubernetes, a **Service** is an object that is used to expose an application (running in pods) to a network.

The Services page lists the services within your cluster, and provides detail on each service. To view the list of services, expand **Networking** and select **Services** from the left hand menu.

<figure><img src="/files/7WksfbhgyWLMoMSaa6Ku" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The display of system services can be toggled under the table settings. Click the three dots at the top right of the table and tick **Show system resources**.
{% endhint %}

For each service, the list displays the service **name**, the **application** and **namespace** it belongs to, the service **type**, the exposed **ports** and **target ports**, the **cluster IP**, **external host** and **external IP** (if applicable), and the **creation date** and **user**, where available. Services provisioned outside of Portainer are marked with the **external** label, and system services are marked with the **system** label.

To remove a service, tick the checkbox next to the service you want to remove and click **Remove** in the top-right corner.

<figure><img src="/files/t6la7J7VV4vXnRZsOArk" alt=""><figcaption></figcaption></figure>

Click the service **name** to open the service details page, where you can view the service details and edit the YAML.

To edit the service YAML, select the **YAML** tab and make your changes directly in the editor. Then select **Apply changes** in the bottom-right corner to patch the modified resources through the Kubernetes API. Any removed resources or unexpected changes to resources are ignored. Resources in namespaces marked as **system** cannot be edited.

To view service details, select the **Describe** tab.

<figure><img src="/files/6S5mz4FKT319AMXb5QES" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/sts/user/kubernetes/networking/services.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
