Kubernetes
Type ID: kubernetes · Kind: Action · Ports: 1 in, 1 out
List namespaces and resources in a Kubernetes cluster (read-only).
Credentials
Kubernetes (Service Account Token)
{
"credentials": {
"name": "kubernetes_token",
"id": "<credential-id>"
}
}
Resources & operations
- Cluster (
cluster)- List Namespaces (
listNamespaces) - List the namespaces in the cluster
- List Namespaces (
- Resource (
resource)- List (
list) - List resources of any kind, in one namespace, across all namespaces, or cluster-wide
- List (
Properties
Common
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Resource | resource | options | Yes | cluster | Cluster (cluster), Resource (resource) | - |
| Operation | operation | options | Yes | listNamespaces | List Namespaces (listNamespaces) | resource = cluster |
| Operation | operation | options | Yes | list | List (list) | resource = resource |
Cluster → List Namespaces
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Label Selector | labelSelector | string | No | '' | e.g. environment=production,tier=frontend | resource = cluster, operation = listNamespaces |
| Field Selector | fieldSelector | string | No | '' | e.g. status.phase=Active | resource = cluster, operation = listNamespaces |
| Return All | returnAll | boolean | No | false | Fetch all pages automatically | resource = cluster, operation = listNamespaces |
| Limit | limit | number | No | 100 | Max items per page | resource = cluster, operation = listNamespaces, returnAll = false |
| Max Items | maxItems | number | No | 1000 | Max total items to fetch across all pages | resource = cluster, operation = listNamespaces, returnAll = true |
| Continue Token | continueToken | string | No | '' | Token for the next page of results | resource = cluster, operation = listNamespaces, returnAll = false |
| Output Format | outputFormat | options | No | full | Full (full), Table (table) | resource = cluster, operation = listNamespaces |
Resource → List
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| API Version | apiVersion | string | Yes | v1 | v1 for core resources (pods, services, configmaps...), or group/version, e.g. apps/v1, batch/v1, networking.k8s.io/v1 | resource = resource, operation = list |
| Resource Type | resourceType | string | Yes | pods | Plural, lowercase resource name as used in the API path, e.g. pods, deployments, nodes, ingresses | resource = resource, operation = list |
| Namespace | namespace | string | No | '' | Leave empty to list across all namespaces (or for cluster-scoped types like nodes) | resource = resource, operation = list |
| Label Selector | labelSelector | string | No | '' | e.g. environment=production,tier=frontend | resource = resource, operation = list |
| Field Selector | fieldSelector | string | No | '' | e.g. status.phase=Running | resource = resource, operation = list |
| Return All | returnAll | boolean | No | false | Fetch all pages automatically | resource = resource, operation = list |
| Limit | limit | number | No | 100 | Max items per page | resource = resource, operation = list, returnAll = false |
| Max Items | maxItems | number | No | 1000 | Max total items to fetch across all pages | resource = resource, operation = list, returnAll = true |
| Continue Token | continueToken | string | No | '' | Token for the next page of results | resource = resource, operation = list, returnAll = false |
| Output Format | outputFormat | options | No | full | Full (full), Table (table) | resource = resource, operation = list |
Notes
- Output Format:
fullreturns the raw Kubernetes API response.tablereturns a simplified array of objects with common fields extracted.