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, allowing users to perform various operations such as deleting resources. Specifically, for the 'Deployments' resource with the 'Delete' operation, it deletes a specified deployment within a given namespace. This is useful for managing Kubernetes deployments programmatically, such as cleaning up or removing outdated deployments.
Use Case Examples
- Deleting a deployment named 'my-deployment' in the 'default' namespace to free up resources.
- Automating the removal of deployments as part of a CI/CD pipeline.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the deployment resides. Defaults to 'default' if not specified. |
| Resource Name | The name of the deployment resource to delete. |
Output
JSON
status- The status or result of the delete operation, typically confirming deletion success or failure.
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 resource name or namespace is incorrect or the deployment does not exist, the delete operation may fail. Verify the resource name and namespace are correct.
- The node expects the 'command' parameter as an array for some operations; ensure correct input types to avoid errors.