From 3817f85da4dca48fd1166c5338e5d4de83e441e3 Mon Sep 17 00:00:00 2001 From: Fabian Kramm Date: Wed, 26 Jun 2024 18:34:25 +0200 Subject: [PATCH] fix: troubleshooting tailscale --- .../advanced/cluster-troubleshooting.mdx | 20 +++++++++---------- .../cluster-troubleshooting.mdx | 20 +++++++++---------- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/platform/clusters/advanced/cluster-troubleshooting.mdx b/platform/clusters/advanced/cluster-troubleshooting.mdx index aae841f1e..538312fe9 100644 --- a/platform/clusters/advanced/cluster-troubleshooting.mdx +++ b/platform/clusters/advanced/cluster-troubleshooting.mdx @@ -4,30 +4,28 @@ sidebar_label: Troubleshooting Clusters --- # Troubleshooting Platform Agent Connection -If you encounter issues with agent connectivity, you can enable additional debug logs using the following environment variables in the `vcluster.yaml` config file. +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. ```yaml env: LOFT_LOG_TSNET_CONTROL_PLANE: true - LOFT_LOG_TSNET_AGENT: true + LOFT_LOG_TSNET_KUBEAPI: true LOFT_LOG_DERP: true LOFT_LOG_DERP_MESH: 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_AGENT`: Enable debug logs for the control-plane managed agents (will also enable debug logs for the agent embedded in the control plane). +- `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. -:::info Enabling Platform Debug Logs -Please ensure that Platform logs are set to debug in the `vcluster.yaml` config file. - -```yaml -logging: - level: debug -``` -::: +:::info 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 +::: diff --git a/platform/troubleshooting/cluster-troubleshooting.mdx b/platform/troubleshooting/cluster-troubleshooting.mdx index 78b71abbd..d8efcc835 100644 --- a/platform/troubleshooting/cluster-troubleshooting.mdx +++ b/platform/troubleshooting/cluster-troubleshooting.mdx @@ -4,30 +4,28 @@ sidebar_label: Host Clusters --- # Troubleshooting Platform Agent Connection -If you encounter issues with agent connectivity, you can enable additional debug logs using the following environment variables in the `vcluster.yaml` config file. +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. ```yaml env: LOFT_LOG_TSNET_CONTROL_PLANE: true - LOFT_LOG_TSNET_AGENT: true + LOFT_LOG_TSNET_KUBEAPI: true LOFT_LOG_DERP: true LOFT_LOG_DERP_MESH: 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_AGENT`: Enable debug logs for the control-plane managed agents (will also enable debug logs for the agent embedded in the control plane). +- `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. -:::info Enabling Platform Debug Logs -Please ensure that Platform logs are set to debug in the `vcluster.yaml` config file. - -```yaml -logging: - level: debug -``` -::: +:::info 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 +:::