Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
Pods → Run
AI-generatedOverview
This node interacts with Kubernetes to run a pod with a specified container image, command, and environment variables. It is useful for dynamically launching pods in a Kubernetes cluster, for example, to run batch jobs, execute scripts, or start temporary containers with specific configurations.
Use Case Examples
- Run a pod with a custom Docker image and command to process data.
- Launch a pod with environment variables set for application configuration.
- Execute a command inside a pod container for debugging or automation.
Properties
| Name | Meaning |
|---|---|
| Image | The container image to use for the pod. |
| Command | The command to run inside the pod container, specified as a JSON array. |
| Environment Variables | Environment variables to set inside the pod container, specified as a JSON array. |
| Namespace | The Kubernetes namespace where the pod will be run. |
| Resource Name | The name of the pod resource. |
Output
JSON
stdout- The standard output from running the pod with the specified image, command, and environment variables.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure the Kubernetes credentials are correctly configured and have permissions to create and manage pods in the specified namespace.
- The 'Command' and 'Environment Variables' inputs must be valid JSON arrays; otherwise, the node will throw an error.
- The 'Resource Name' and 'Namespace' must be correctly specified to avoid resource not found errors.