Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
StatefulSets → Logs
AI-generatedOverview
This node interacts with Kubernetes StatefulSets to retrieve logs. It is useful for monitoring and debugging StatefulSets by fetching their container logs. For example, a user can specify the namespace, StatefulSet name, and container name to get the logs of a specific container within a StatefulSet.
Use Case Examples
- Fetching logs from a StatefulSet container to troubleshoot application issues.
- Monitoring StatefulSet container logs for performance and error tracking.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the StatefulSet resides. |
| Resource Name | The name of the StatefulSet resource to fetch logs from. |
| Container Name | The name of the container within the StatefulSet to retrieve logs from. |
Output
JSON
logs- The logs output from the specified container in the StatefulSet.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure Kubernetes credentials are correctly configured and have permissions to access StatefulSets and their logs.
- Verify that the specified namespace and StatefulSet resource name exist in the cluster.
- Check that the container name is correct and exists within the StatefulSet pods.
- Common error: 'Resource name is required for logs operation!' indicates the resourceName parameter is missing or empty.