Skip to main content
Version: v4.x (Stable: v4.2.0)

Troubleshooting Platform Agent Connection

If you encounter issues with agent connectivity, you can enable additional debug logs using the following environment variables in the platform values.yaml config file.

env:
LOFT_LOG_TSNET_CONTROL_PLANE: true
LOFT_LOG_TSNET_KUBEAPI: true
LOFT_LOG_DERP: true

logging:
level: debug

These environment variables will enable debug logs for the following components:

  • LOFT_LOG_TSNET_CONTROL_PLANE: Enable debug logs for the control plane component of the Network Peer network.
  • LOFT_LOG_TSNET_KUBEAPI: Enable debug logs for the control-plane managed agents (will also enable debug logs for the agent embedded in the control plane).
  • LOFT_LOG_DERP: Enable debug logs for the DERP server.
  • LOFT_LOG_DERP_MESH: Enable debug logs for the DERP mesh.
Enabling Agent Debug Logs

You can use the same config for the agent to display advanced logs. Use this in the Clusters > Edit > Manage vCluster Agent