You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-nexus/howto-kubernetes-cluster-log-collector-script.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,16 +61,15 @@ The log collector script is designed to comprehensively gather data across vario
61
61
62
62
## Prerequisite
63
63
64
-
Before proceeding, ensure that you have [SSH access to the Nexus Kubernetes cluster node](./howto-kubernetes-cluster-connect.md#azure-arc-for-servers).
64
+
- Ensure that you have SSH access to the Nexus Kubernetes cluster node. If you have direct IP reachability to the node, establish an SSH connection directly. Otherwise, use Azure Arc for servers with the command `az ssh arc`. For more information about various connectivity methods, check out the [connect to the cluster](./howto-kubernetes-cluster-connect.md) article.
65
65
66
-
## Execution steps
66
+
## Execution
67
67
68
-
- Connect to the Nexus Kubernetes cluster node using SSH.
69
-
- Run the log collector script by executing the command `sudo /opt/log-collector/collect.sh`.
68
+
Once you have SSH access to the node, run the log collector script by executing the command `sudo /opt/log-collector/collect.sh`.
70
69
71
70
Upon execution, you observe an output similar to:
72
71
73
-
```
72
+
```bash
74
73
Trying to check for root...
75
74
Trying to check for required utilities...
76
75
Trying to create required directories...
@@ -92,6 +91,18 @@ Once the log file is generated, you can download the generated log file from you
92
91
93
92
This command should look familiar to you, as it is the same command used to SSH into the Nexus Kubernetes cluster node. To download the generated log file from the node to your local machine, simply use this command again, with the addition of the `cat` command at the end to copy the file.
0 commit comments