Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
Overview
This node interacts with Kubernetes clusters, specifically supporting operations on various Kubernetes resources such as namespaces, pods, services, deployments, and more. For the 'Namespaces' resource with the 'Logs' operation, it retrieves logs from the specified namespace and resource name. This node is useful for automating Kubernetes management tasks like fetching logs, running pods, deleting resources, and scaling deployments within workflows.
Use Case Examples
- Fetching logs from a specific namespace and pod to monitor application behavior.
- Deleting a namespace or pod as part of a cleanup process.
- Running a pod with a specified image and command for testing or batch jobs.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the resource is located. Defaults to 'default' if not specified. |
| Resource Name | The name of the specific Kubernetes resource (e.g., pod, namespace) to operate on within the selected namespace. |
Output
JSON
stdout- The standard output or logs retrieved from the Kubernetes resource, such as pod logs or command execution output.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- If no credentials are provided or invalid, the node throws an error 'No credentials got returned!'. Ensure valid Kubernetes API credentials are configured.
- If the 'command' parameter is not an array when running a pod, an error 'Command must be an array!' is thrown. Provide the command as a JSON array.
- Ensure the specified namespace and resource name exist in the Kubernetes cluster to avoid resource not found errors.