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 on Kubernetes resources. Specifically, for the ReplicaSets resource with the Delete operation, it deletes a specified ReplicaSet within a given namespace. This is useful for managing and cleaning up ReplicaSets in Kubernetes environments, such as removing outdated or unnecessary ReplicaSets to maintain cluster hygiene.
Use Case Examples
- Deleting a ReplicaSet named 'my-replicaset' in the 'default' namespace to free up resources.
- Automating cleanup of ReplicaSets after deployment rollbacks or updates.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the ReplicaSet to be deleted is located. |
| Resource Name | The name of the ReplicaSet resource to delete. |
Output
JSON
status- The status or result of the delete operation, typically indicating success or failure.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- If no credentials are provided or credentials are 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 ReplicaSet does not exist, the delete operation may fail. Verify the resource name and namespace are correct.
- The node expects the 'command' parameter to be a JSON array for certain operations; if malformed, it throws 'Command must be an array!' error, but this is not relevant for the delete operation.