Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
Services → List
AI-generatedOverview
This node interacts with Kubernetes clusters to perform various operations on Kubernetes resources. Specifically, for the 'Services' resource with the 'List' operation, it retrieves a list of services within a specified namespace. This is useful for scenarios where you need to monitor, manage, or automate workflows involving Kubernetes services, such as listing all services in a namespace to check their status or to integrate with other automation tasks.
Use Case Examples
- Listing all services in the 'default' namespace to monitor available services.
- Automating the retrieval of service lists for reporting or auditing purposes.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace from which to list the services. Defaults to 'default' if not specified. |
| Resource Name | The name of the specific resource, not typically required for listing services but available for other operations. |
Output
JSON
json- The JSON object containing the list of services retrieved from the Kubernetes cluster.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure Kubernetes credentials are correctly configured and valid; otherwise, the node will throw a 'No credentials got returned!' error.
- If the 'Namespace' parameter is incorrect or does not exist, the node may return an empty list or an error from the Kubernetes API.
- The 'Resource Name' is not required for the 'List' operation but must be provided for other operations; missing it when required will cause an error indicating the resource name is required.