ARMS agent logs help you diagnose agent-level issues such as startup failures, connectivity problems, or configuration errors. The logs are stored on the worker nodes of your Container Service for Kubernetes (ACK) cluster.
Log file location
| Environment | Log path |
|---|---|
| ACK cluster worker node | /home/admin/.opt/ArmsAgent/logs/ |
View log files
Connect to the ACK cluster worker node by using SSH.
List available log files:
ls /home/admin/.opt/ArmsAgent/logs/*.logView a specific log file:
cat /home/admin/.opt/ArmsAgent/logs/<log-file-name>.logReplace
<log-file-name>with the actual file name from step 2.To monitor log output in real time, use
tail -f:tail -f /home/admin/.opt/ArmsAgent/logs/<log-file-name>.log
Troubleshooting
If you cannot find the log files or they are empty, check the following:
Verify that the ARMS agent is installed and running on the worker node.
Verify that the current user has read permissions on the
/home/admin/.opt/ArmsAgent/logs/directory.Verify that sufficient disk space is available on the worker node.