--- title: 'Kubernetes' description: 'Manage pods, deployments, services, and cluster resources via the Kubernetes API.' --- # Kubernetes Manage pods, deployments, services, and cluster resources via the Kubernetes API. | Detail | Value | |---|---| | Category | DevOps | | Base URL | `https://kubernetes.default.svc` | | Authentication | Bearer Token | | Endpoints | 8 | | Connector key | `kubernetes` | ## Using Kubernetes in a workflow 1. Go to **Connections** and click **New Connection**. 2. Pick **Kubernetes** from the marketplace. 3. Enter your credentials (see Authentication above for what's expected). 4. In a workflow, drop an **API Call** node and select this connection. 5. Pick the operation you need from the Operation dropdown — see the table below. ## Available Endpoints | Endpoint | Summary | |---|---| | [GET /api/v1/namespaces](./get_api_v1_namespaces_devops_listnamespaces) | List namespaces | | [GET /api/v1/namespaces/{namespace}/pods](./get_api_v1_namespaces_namespace_pods_devops_listnamespacedpods) | List pods | | [GET /api/v1/namespaces/{namespace}/pods/{name}](./get_api_v1_namespaces_namespace_pods_name_devops_readnamespacedpod) | Read a pod | | [GET /api/v1/namespaces/{namespace}/pods/{name}/log](./get_api_v1_namespaces_namespace_pods_name_log_devops_readnamespacedpodlog) | Read pod logs | | [GET /apis/apps/v1/namespaces/{namespace}/deployments](./get_apis_apps_v1_namespaces_namespace_deployments_devops_listnamespaceddeployments) | List deployments | | [POST /apis/apps/v1/namespaces/{namespace}/deployments](./post_apis_apps_v1_namespaces_namespace_deployments_devops_createnamespaceddeployment) | Create a deployment | | [PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale](./patch_apis_apps_v1_namespaces_namespace_deployments_name_scale_devops_patchnamespaceddeploymentscale) | Scale a deployment | | [GET /api/v1/nodes](./get_api_v1_nodes_devops_listnodes) | List cluster nodes | > Each endpoint has its own page with parameter details, an example > `API Call` node configuration, and the response shape.