> For the complete documentation index, see [llms.txt](https://doc.k8studio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.k8studio.io/documentation/deployment-view/linking-services-ingress-and-pvc.md).

# Linking Services,Ingress and PVC

Going beyond pure CRUD of objects, the deployment view has a set of helpers that allow us to establish connections between objects. When we select an object, a plus button appears at the top and bottom of the object. Clicking this button opens the appropriate dialog to create an interconnection. The types of connections we are referring to are as follows:

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

* **Connect Ingress with Service**: This helper makes it easy to connect an Ingress with a Service. In the helper form, you can choose any of the available services on the cluster. Once you have chosen a service, you can select from the available service ports and define the host, port, and TLS that the Ingress is going to use to create a rule.

<figure><img src="/files/84tzSjknshVQbcpsQu1l" alt=""><figcaption></figcaption></figure>

* **Connect Service with Ingress:**  This helper will help you to make a connection between a service and an ingress.In the helper form, you can choose any of the available ingress on the cluster. Once you have chosen a ingress, you can select from the selected service ports and define the host, port, and TLS that the Ingress is going to use to create a rule.

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

* **Connect Service with a Workload:** In this helper form, you can choose any of the available workloads in the cluster. Once you have selected a workload, you can then choose from the available workload ports to determine which one you want your service to connect to, using the workload port as the target port, and allowing you to define the service port.

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

* **Connect Workload with Service:** In this helper form, you can choose any of the available services in the cluster. Once you have selected a services, you can then choose from the available workload ports to determine which one you want your service to connect to, using the workload port as the target port, and allowing you to define the service port.

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

* **Connect Workload with a PVC (Persistent Volume Claim):** This helper window allows you to connect a volume with a workload. You can specify the type of volume (PVC, Config Map, or Secret), the name of the volume, the container to mount, and the mount path. In the case that you choose a PVC, you can also define the capacity, storage class, and the access mode.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://doc.k8studio.io/documentation/deployment-view/linking-services-ingress-and-pvc.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.
