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, supporting various operations such as running pods, deleting resources, executing commands, and patching resources. Specifically, for the StatefulSets resource with the Patch operation, it allows users to modify existing StatefulSets in a Kubernetes cluster by applying partial updates. This is useful for updating configurations or properties of StatefulSets without recreating them entirely.
Use Case Examples
- Updating the image version of a StatefulSet to deploy a new application version.
- Changing resource limits or environment variables of containers within a StatefulSet.
- Applying configuration changes to StatefulSets in a specific namespace.
Properties
| Name | Meaning |
|---|---|
| Image | The container image to use, relevant for operations like run, restart, exec, and patch. |
| Namespace | The Kubernetes namespace where the StatefulSet resource resides. |
| Resource Name | The name of the specific StatefulSet resource to patch. |
Output
JSON
stdout- Output from running a pod or command execution, typically command results or status messages.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure Kubernetes credentials are correctly configured and accessible; missing credentials will cause operation failure.
- The 'command' parameter must be a valid JSON array when running pods; otherwise, an error is thrown.
- Namespace and resource names must be accurate to avoid resource not found errors.