Kubernetes REST API
Container orchestration REST API for cloud-native apps
Kubernetes provides a comprehensive REST API for managing containerized applications at scale. Developers use it to automate deployment, scaling, and operations of application containers across clusters of hosts. The API enables programmatic control over pods, services, deployments, and cluster resources for building cloud-native infrastructure.
https://kubernetes-cluster.example.com/api/v1
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /namespaces/{namespace}/pods | List all pods in a specific namespace |
| POST | /namespaces/{namespace}/pods | Create a new pod in the specified namespace |
| GET | /namespaces/{namespace}/pods/{name} | Get details of a specific pod by name |
| DELETE | /namespaces/{namespace}/pods/{name} | Delete a specific pod from the cluster |
| GET | /namespaces/{namespace}/services | List all services in a namespace |
| POST | /namespaces/{namespace}/services | Create a new service to expose pods |
| GET | /namespaces/{namespace}/deployments | List all deployments in a namespace |
| POST | /namespaces/{namespace}/deployments | Create a new deployment for application rollout |
| PATCH | /namespaces/{namespace}/deployments/{name} | Update an existing deployment configuration |
| GET | /nodes | List all nodes in the Kubernetes cluster |
| GET | /nodes/{name} | Get details of a specific cluster node |
| GET | /namespaces/{namespace}/configmaps | List all ConfigMaps for storing configuration data |
| GET | /namespaces/{namespace}/secrets | List all Secrets for storing sensitive information |
| GET | /namespaces/{namespace}/persistentvolumeclaims | List all persistent volume claims for storage |
| GET | /namespaces/{namespace}/pods/{name}/log | Retrieve logs from a specific pod container |
Sponsor this page
AvailableReach developers actively building with Kubernetes. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X GET https://kubernetes-cluster.example.com/api/v1/namespaces/default/pods \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkRHV...' \
-H 'Accept: application/json'
Use Kubernetes from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Kubernetes. Paste your Kubernetes API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Kubernetes directly with your credentials — no local install, works on mobile.
list_pods
List all pods across namespaces with filtering by labels and status
create_deployment
Create a new deployment from a container image with replica count and resource limits
scale_deployment
Scale a deployment up or down by adjusting replica count
get_pod_logs
Retrieve and stream logs from specific pod containers for debugging
apply_manifest
Apply YAML/JSON manifest to create or update Kubernetes resources
Connect in 60 seconds
Paste your Kubernetes key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Kubernetes to your AI →