Skip to content

Commit 72ae402

Browse files
committed
What it collects?
1 parent a70574e commit 72ae402

File tree

1 file changed

+43
-4
lines changed

1 file changed

+43
-4
lines changed

articles/operator-nexus/howto-kubernetes-cluster-log-collector-script.md

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,56 @@ ms.custom: template-how-to
1313

1414
Microsoft support may need deeper visibility within the Nexus Kubernetes cluster in certain scenarios. To facilitate this, a log-collection script is available for you to use. This script retrieves all the necessary logs, enabling Microsoft support to gain a better understanding of the issue and troubleshoot it effectively.
1515

16-
The log collection script is designed to retrieve different kinds of system and application logs from the node. It gathers common operating system logs, details about the system’s mount points and volumes, and logs related to Multus—a multi-network plugin for Kubernetes, if they're present.
16+
## What it collects?
1717

18-
Among the system-related logs, it captures kernel logs, sysctl information, and IP Virtual Server administration data. Additionally, the script collects networking information, including connection tracking details, Container Network Interface (CNI) configuration (if available), and interface settings.
18+
The log collector script is designed to comprehensively gather data across various aspects of the system for troubleshooting and analysis purposes. Below is an overview of the types of diagnostic data it collects:
1919

20-
Furthermore, the script does network connectivity tests by pinging the default gateway and the API server, provided a kubeconfig file exists.
20+
### System and Kernel Diagnostics
21+
22+
- Kernel Information: Logs, human-readable messages, version, and architecture, for in-depth kernel diagnostics.
23+
- Operating System Logs: Essential logs detailing system activity and container logs for system services.
24+
25+
### Hardware and Resource Usage
26+
27+
- CPU and IO Throttled Processes: Identifies throttling issues, providing insights into performance bottlenecks.
28+
- Network Interface Statistics: Detailed statistics for network interfaces to diagnose errors and drops.
29+
30+
### Software and Services
31+
32+
- Installed Packages: A list of all installed packages, vital for understanding the system's software environment.
33+
- Active System Services: Information on active services, process snapshots, and detailed system and process statistics.
34+
- Container Runtime and Kubernetes Components Logs: Logs for Kubernetes components and other vital services for cluster diagnostics.
35+
36+
### Networking and Connectivity
37+
38+
- Network Connection Tracking Information: Conntrack statistics and connection lists for firewall diagnostics.
39+
- Network Configuration and Interface Details: Interface configurations, IP routing, addresses, and neighbor information.
40+
- Multicard Interface Configuration Logs: Logs related to the configuration of multi-network card interfaces.
41+
- Network Connectivity Tests: Tests external network connectivity and Kubernetes API server communication.
42+
- DNS Resolution Configuration: DNS resolver configuration for diagnosing domain name resolution issues.
43+
- Networking Configuration and Logs: Comprehensive networking data including connection tracking and interface configurations.
44+
- Container Network Interface (CNI) Configuration: Configuration of CNI for container networking diagnostics.
45+
46+
### Security and Compliance
47+
48+
- SELinux Status: Reports the SELinux mode to understand access control and security contexts.
49+
- IPtables Rules: Configuration of IPtables rulesets for insights into firewall settings.
50+
51+
### Storage and Filesystems
52+
53+
- Mount Points and Volume Information: Detailed information on mount points, volumes, disk usage, and filesystem specifics.
54+
55+
### Configuration and Management
56+
57+
- System Configuration: Sysctl parameters for a comprehensive view of kernel runtime configuration.
58+
- Kubernetes Configuration and Health: Kubernetes setup details, including configurations and service listings.
59+
- Container Runtime Information: Configuration, version information, and details on running containers.
60+
- Container Runtime Interface (CRI) Information: Operations data for container runtime interface, aiding in container orchestration diagnostics.
2161

2262
## Prerequisite
2363

2464
Before proceeding, ensure that you have [SSH access to the Nexus Kubernetes cluster node](./howto-kubernetes-cluster-connect.md#azure-arc-for-servers).
2565

26-
2766
## Execution steps
2867

2968
- Connect to the Nexus Kubernetes cluster node using SSH.

0 commit comments

Comments
 (0)