Linked Resources in a Vultr Kubernetes Engine (VKE) cluster include critical components like load balancers and block storage, which provide network traffic management and persistent storage solutions for your Kubernetes environment. Accessing these linked resources is important for managing and optimizing your cluster's performance and storage.
Follow this guide to retrieve the linked resources associated with your VKE cluster from your Vultr account using the Vultr Customer Portal or API.
Navigate to Products and click Kubernetes.
Click your target VKE cluster to open its management page.
Click Linked Resources.
You will be able to view any linked Block Storages and Load Balancer to your VKE cluster.
Send a GET
request to the List Kubernetes Clusters endpoint and note the target VKE cluster's ID.
$ curl -X GET "https://api.vultr.com/v2/kubernetes/clusters" \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json"
Send a GET
request to the Kubernetes Resources endpoint to list all the attached resources.
$ curl -X GET "https://api.vultr.com/v2/kubernetes/clusters/<cluster-id>/resources" \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json"