domino_admin_toolkit.checks.info.log_test_helper module
- domino_admin_toolkit.checks.info.log_test_helper.get_ns_pods(namespace, k8s_client)
Get namespace pods excluding DaemonSets.
- Args:
namespace: Kubernetes namespace k8s_client: DominoKubernetesClient instance (required)
- Returns:
List of V1Pod objects (excluding DaemonSet pods), or None on error
- domino_admin_toolkit.checks.info.log_test_helper.search_backwards(string, regex)
- domino_admin_toolkit.checks.info.log_test_helper.search_forwards(string, regex)
- domino_admin_toolkit.checks.info.log_test_helper.test_logs(namespace, pod_name_prefix, container, TIME_RANGE_SECONDS, critical_error_strings, include_extra_strings, pods, compact, k8s_client)
Test pod logs for error strings.
- Args:
namespace: Kubernetes namespace pod_name_prefix: Prefix to filter pod names container: Container name TIME_RANGE_SECONDS: Time range in seconds for log retrieval critical_error_strings: List of critical error strings to search for include_extra_strings: List of additional strings to search for pods: List of V1Pod objects compact: Whether to use compact output k8s_client: DominoKubernetesClient instance (required)