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 ​
- Go to Connections and click New Connection.
- Pick Kubernetes from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — see the table below.
Available Endpoints ​
| Endpoint | Summary |
|---|---|
| GET /api/v1/namespaces | List namespaces |
| GET /api/v1/namespaces/{namespace}/pods | List pods |
| GET /api/v1/namespaces/{namespace}/pods/{name} | Read a pod |
| GET /api/v1/namespaces/{namespace}/pods/{name}/log | Read pod logs |
| GET /apis/apps/v1/namespaces/{namespace}/deployments | List deployments |
| POST /apis/apps/v1/namespaces/{namespace}/deployments | Create a deployment |
| PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | Scale a deployment |
| GET /api/v1/nodes | List cluster nodes |
Each endpoint has its own page with parameter details, an example
API Callnode configuration, and the response shape.