# Kubernetes API

> Kubernetes, also known as K8s, is an open source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon 15 years of experience of running production workloads at Google, combined with best-of-breed ideas and practices from the community. Pl.

Kubernetes is a development API from kubernetes.io. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 821 endpoints.

## At a glance

- Category: [Development](https://www.openparable.com/apis/category/development)
- Provider: kubernetes.io
- Authentication: API key
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://kubernetes.local
- Documentation: https://kubernetes.io/
- OpenAPI description: https://api.apis.guru/v2/specs/kubernetes.io/unversioned/swagger.json
- Version: unversioned
- Specification updated: 2023-03-06

## Example request

```bash
curl -X GET "https://kubernetes.local/.well-known/openid-configuration/" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
```

## Endpoints

- `GET /.well-known/openid-configuration/` — get service account issuer OpenID configuration, also known as the 'OIDC discovery doc'
- `GET /api/` — get available API versions
- `GET /api/v1/` — get available resources
- `GET /api/v1/componentstatuses` — list objects of kind ComponentStatus
- `GET /api/v1/componentstatuses/{name}` — read the specified ComponentStatus
- `GET /api/v1/configmaps` — list or watch objects of kind ConfigMap
- `GET /api/v1/endpoints` — list or watch objects of kind Endpoints
- `GET /api/v1/events` — list or watch objects of kind Event
- `GET /api/v1/limitranges` — list or watch objects of kind LimitRange
- `GET /api/v1/namespaces` — list or watch objects of kind Namespace
- `POST /api/v1/namespaces` — create a Namespace
- `POST /api/v1/namespaces/{namespace}/bindings` — create a Binding
- `GET /api/v1/namespaces/{namespace}/configmaps` — list or watch objects of kind ConfigMap
- `POST /api/v1/namespaces/{namespace}/configmaps` — create a ConfigMap
- `DELETE /api/v1/namespaces/{namespace}/configmaps` — delete collection of ConfigMap
- `GET /api/v1/namespaces/{namespace}/configmaps/{name}` — read the specified ConfigMap
- `PUT /api/v1/namespaces/{namespace}/configmaps/{name}` — replace the specified ConfigMap
- `PATCH /api/v1/namespaces/{namespace}/configmaps/{name}` — partially update the specified ConfigMap
- `DELETE /api/v1/namespaces/{namespace}/configmaps/{name}` — delete a ConfigMap
- `GET /api/v1/namespaces/{namespace}/endpoints` — list or watch objects of kind Endpoints
- `POST /api/v1/namespaces/{namespace}/endpoints` — create Endpoints
- `DELETE /api/v1/namespaces/{namespace}/endpoints` — delete collection of Endpoints
- `GET /api/v1/namespaces/{namespace}/endpoints/{name}` — read the specified Endpoints
- `PUT /api/v1/namespaces/{namespace}/endpoints/{name}` — replace the specified Endpoints
- `PATCH /api/v1/namespaces/{namespace}/endpoints/{name}` — partially update the specified Endpoints
- `DELETE /api/v1/namespaces/{namespace}/endpoints/{name}` — delete Endpoints
- `GET /api/v1/namespaces/{namespace}/events` — list or watch objects of kind Event
- `POST /api/v1/namespaces/{namespace}/events` — create an Event
- `DELETE /api/v1/namespaces/{namespace}/events` — delete collection of Event
- `GET /api/v1/namespaces/{namespace}/events/{name}` — read the specified Event
- `PUT /api/v1/namespaces/{namespace}/events/{name}` — replace the specified Event
- `PATCH /api/v1/namespaces/{namespace}/events/{name}` — partially update the specified Event
- `DELETE /api/v1/namespaces/{namespace}/events/{name}` — delete an Event
- `GET /api/v1/namespaces/{namespace}/limitranges` — list or watch objects of kind LimitRange
- `POST /api/v1/namespaces/{namespace}/limitranges` — create a LimitRange
- `DELETE /api/v1/namespaces/{namespace}/limitranges` — delete collection of LimitRange
- `GET /api/v1/namespaces/{namespace}/limitranges/{name}` — read the specified LimitRange
- `PUT /api/v1/namespaces/{namespace}/limitranges/{name}` — replace the specified LimitRange
- `PATCH /api/v1/namespaces/{namespace}/limitranges/{name}` — partially update the specified LimitRange
- `DELETE /api/v1/namespaces/{namespace}/limitranges/{name}` — delete a LimitRange
- `GET /api/v1/namespaces/{namespace}/persistentvolumeclaims` — list or watch objects of kind PersistentVolumeClaim
- `POST /api/v1/namespaces/{namespace}/persistentvolumeclaims` — create a PersistentVolumeClaim
- `DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims` — delete collection of PersistentVolumeClaim
- `GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}` — read the specified PersistentVolumeClaim
- `PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}` — replace the specified PersistentVolumeClaim
- `PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}` — partially update the specified PersistentVolumeClaim
- `DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}` — delete a PersistentVolumeClaim
- `GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status` — read status of the specified PersistentVolumeClaim
- `PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status` — replace status of the specified PersistentVolumeClaim
- `PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status` — partially update status of the specified PersistentVolumeClaim
- `GET /api/v1/namespaces/{namespace}/pods` — list or watch objects of kind Pod
- `POST /api/v1/namespaces/{namespace}/pods` — create a Pod
- `DELETE /api/v1/namespaces/{namespace}/pods` — delete collection of Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}` — read the specified Pod
- `PUT /api/v1/namespaces/{namespace}/pods/{name}` — replace the specified Pod
- `PATCH /api/v1/namespaces/{namespace}/pods/{name}` — partially update the specified Pod
- `DELETE /api/v1/namespaces/{namespace}/pods/{name}` — delete a Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}/attach` — connect GET requests to attach of Pod
- `POST /api/v1/namespaces/{namespace}/pods/{name}/attach` — connect POST requests to attach of Pod
- `POST /api/v1/namespaces/{namespace}/pods/{name}/binding` — create binding of a Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers` — read ephemeralcontainers of the specified Pod
- `PUT /api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers` — replace ephemeralcontainers of the specified Pod
- `PATCH /api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers` — partially update ephemeralcontainers of the specified Pod
- `POST /api/v1/namespaces/{namespace}/pods/{name}/eviction` — create eviction of a Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}/exec` — connect GET requests to exec of Pod
- `POST /api/v1/namespaces/{namespace}/pods/{name}/exec` — connect POST requests to exec of Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}/log` — read log of the specified Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}/portforward` — connect GET requests to portforward of Pod
- `POST /api/v1/namespaces/{namespace}/pods/{name}/portforward` — connect POST requests to portforward of Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}/proxy` — connect GET requests to proxy of Pod
- `POST /api/v1/namespaces/{namespace}/pods/{name}/proxy` — connect POST requests to proxy of Pod
- `PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy` — connect PUT requests to proxy of Pod
- `PATCH /api/v1/namespaces/{namespace}/pods/{name}/proxy` — connect PATCH requests to proxy of Pod
- `DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy` — connect DELETE requests to proxy of Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}` — connect GET requests to proxy of Pod
- `POST /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}` — connect POST requests to proxy of Pod
- `PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}` — connect PUT requests to proxy of Pod
- `PATCH /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}` — connect PATCH requests to proxy of Pod
- `DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}` — connect DELETE requests to proxy of Pod
- `GET /api/v1/namespaces/{namespace}/pods/{name}/status` — read status of the specified Pod
- `PUT /api/v1/namespaces/{namespace}/pods/{name}/status` — replace status of the specified Pod
- `PATCH /api/v1/namespaces/{namespace}/pods/{name}/status` — partially update status of the specified Pod
- `GET /api/v1/namespaces/{namespace}/podtemplates` — list or watch objects of kind PodTemplate
- `POST /api/v1/namespaces/{namespace}/podtemplates` — create a PodTemplate
- `DELETE /api/v1/namespaces/{namespace}/podtemplates` — delete collection of PodTemplate
- `GET /api/v1/namespaces/{namespace}/podtemplates/{name}` — read the specified PodTemplate
- `PUT /api/v1/namespaces/{namespace}/podtemplates/{name}` — replace the specified PodTemplate
- `PATCH /api/v1/namespaces/{namespace}/podtemplates/{name}` — partially update the specified PodTemplate
- `DELETE /api/v1/namespaces/{namespace}/podtemplates/{name}` — delete a PodTemplate
- `GET /api/v1/namespaces/{namespace}/replicationcontrollers` — list or watch objects of kind ReplicationController
- `POST /api/v1/namespaces/{namespace}/replicationcontrollers` — create a ReplicationController
- `DELETE /api/v1/namespaces/{namespace}/replicationcontrollers` — delete collection of ReplicationController
- `GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}` — read the specified ReplicationController
- `PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}` — replace the specified ReplicationController
- `PATCH /api/v1/namespaces/{namespace}/replicationcontrollers/{name}` — partially update the specified ReplicationController
- `DELETE /api/v1/namespaces/{namespace}/replicationcontrollers/{name}` — delete a ReplicationController
- `GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale` — read scale of the specified ReplicationController
- `PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale` — replace scale of the specified ReplicationController
- `PATCH /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale` — partially update scale of the specified ReplicationController
- `GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status` — read status of the specified ReplicationController

## Questions

### Does the Kubernetes API need an API key?

Yes. The Kubernetes API uses API key authentication; the documentation explains how to get credentials.

### Does the Kubernetes API support HTTPS?

Yes, the Kubernetes API is served over HTTPS.

### How many endpoints does the Kubernetes API have?

Its OpenAPI description lists 821 endpoints in version unversioned. The first 100 are shown on this page.

### What are alternatives to the Kubernetes API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

## Similar development APIs

- [Cloudflare](https://www.openparable.com/apis/cloudflare): Manage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
- [Azure DevOps](https://www.openparable.com/apis/azure-devops): The Azure DevOps basic components of a REST API request/response pair
- [IPify](https://www.openparable.com/apis/ipify): A simple IP Address API
- [App Store Connect API](https://www.openparable.com/apis/app-store-connect): The data structure that represents an app store connect api resource.
- [StackExchange](https://www.openparable.com/apis/stackexchange): Q&A forum for developers
- [IPinfo](https://www.openparable.com/apis/ipinfo): Another simple IP Address API
- [IBM Text to Speech](https://www.openparable.com/apis/ibm-text-to-speech): Convert text to speech
- [SiteIntel](https://www.openparable.com/apis/siteintel): Extract metadata, tech stack, emails, and screenshots from any URL
- [DigitalOcean Status](https://www.openparable.com/apis/digitalocean-status): Status of all DigitalOcean services
- [Netlify](https://www.openparable.com/apis/netlify): Netlify is a hosting service for the programmable web
- [Docker Hub](https://www.openparable.com/apis/docker-hub): Interact with Docker Hub
- [MineSkin API](https://www.openparable.com/apis/mineskin): Client implementations: Java: https://github.com/InventivetalentDev/MineskinClient NodeJS: https://github.com/InventivetalentDev/mineskin-client Examples: https://github.com/MineSkin/examples

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/kubernetes (OpenParable). Cite the canonical URL above.
