From 70d93de12e9baf46074c96be55bfc0b3223571f1 Mon Sep 17 00:00:00 2001 From: Tomas Hehejik Date: Thu, 1 Aug 2024 01:28:03 +0200 Subject: [PATCH] [2.9.0] Debug mode for fleet in rancher (#1350) * Debug mode for fleet in rancher Note how to enable debug mode for fleet in rancher in Troubleshotting section added. * suggestions from ci incorporated * Apply suggestions from code review Co-authored-by: Marty Hernandez Avedon * versioning --------- Co-authored-by: Marty Hernandez Avedon --- docs/integrations-in-rancher/fleet/overview.md | 4 +++- .../fleet-gitops-at-scale/fleet-gitops-at-scale.md | 4 +++- .../version-2.8/integrations-in-rancher/fleet/overview.md | 4 +++- .../version-2.9/integrations-in-rancher/fleet/overview.md | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/integrations-in-rancher/fleet/overview.md b/docs/integrations-in-rancher/fleet/overview.md index 190f9b8906f..c2787aaa421 100644 --- a/docs/integrations-in-rancher/fleet/overview.md +++ b/docs/integrations-in-rancher/fleet/overview.md @@ -63,6 +63,8 @@ The Helm chart in the git repository must include its dependencies in the charts - **Temporary Workaround**: By default, user-defined secrets are not backed up in Fleet. It is necessary to recreate secrets if performing a disaster recovery restore or migration of Rancher into a fresh cluster. To modify resourceSet to include extra resources you want to backup, refer to docs [here](https://github.com/rancher/backup-restore-operator#user-flow). +- **Debug logging**: To enable debug logging of Fleet components, create a new **fleet** entry in the existing **rancher-config** ConfigMap in the **cattle-system** namespace with the value `{"debug": 1, "debugLevel": 1}`. The Fleet application restarts after you save the ConfigMap. + ## Documentation -The Fleet documentation is at https://fleet.rancher.io/. \ No newline at end of file +See the [official Fleet documentation](https://fleet.rancher.io/) to learn more. diff --git a/versioned_docs/version-2.7/integrations-in-rancher/fleet-gitops-at-scale/fleet-gitops-at-scale.md b/versioned_docs/version-2.7/integrations-in-rancher/fleet-gitops-at-scale/fleet-gitops-at-scale.md index 7beecb02d0b..86c88409bd6 100644 --- a/versioned_docs/version-2.7/integrations-in-rancher/fleet-gitops-at-scale/fleet-gitops-at-scale.md +++ b/versioned_docs/version-2.7/integrations-in-rancher/fleet-gitops-at-scale/fleet-gitops-at-scale.md @@ -63,6 +63,8 @@ The Helm chart in the git repository must include its dependencies in the charts - **Temporary Workaround**: By default, user-defined secrets are not backed up in Fleet. It is necessary to recreate secrets if performing a disaster recovery restore or migration of Rancher into a fresh cluster. To modify resourceSet to include extra resources you want to backup, refer to docs [here](https://github.com/rancher/backup-restore-operator#user-flow). +- **Debug logging**: To enable debug logging of Fleet components, create a new **fleet** entry in the existing **rancher-config** ConfigMap in the **cattle-system** namespace with the value `{"debug": 1, "debugLevel": 1}`. The Fleet application restarts after you save the ConfigMap. + ## Documentation -The Fleet documentation is at https://fleet.rancher.io/. \ No newline at end of file +See the [official Fleet documentation](https://fleet.rancher.io/) to learn more. diff --git a/versioned_docs/version-2.8/integrations-in-rancher/fleet/overview.md b/versioned_docs/version-2.8/integrations-in-rancher/fleet/overview.md index 190f9b8906f..c2787aaa421 100644 --- a/versioned_docs/version-2.8/integrations-in-rancher/fleet/overview.md +++ b/versioned_docs/version-2.8/integrations-in-rancher/fleet/overview.md @@ -63,6 +63,8 @@ The Helm chart in the git repository must include its dependencies in the charts - **Temporary Workaround**: By default, user-defined secrets are not backed up in Fleet. It is necessary to recreate secrets if performing a disaster recovery restore or migration of Rancher into a fresh cluster. To modify resourceSet to include extra resources you want to backup, refer to docs [here](https://github.com/rancher/backup-restore-operator#user-flow). +- **Debug logging**: To enable debug logging of Fleet components, create a new **fleet** entry in the existing **rancher-config** ConfigMap in the **cattle-system** namespace with the value `{"debug": 1, "debugLevel": 1}`. The Fleet application restarts after you save the ConfigMap. + ## Documentation -The Fleet documentation is at https://fleet.rancher.io/. \ No newline at end of file +See the [official Fleet documentation](https://fleet.rancher.io/) to learn more. diff --git a/versioned_docs/version-2.9/integrations-in-rancher/fleet/overview.md b/versioned_docs/version-2.9/integrations-in-rancher/fleet/overview.md index 190f9b8906f..abe5d312ed9 100644 --- a/versioned_docs/version-2.9/integrations-in-rancher/fleet/overview.md +++ b/versioned_docs/version-2.9/integrations-in-rancher/fleet/overview.md @@ -63,6 +63,8 @@ The Helm chart in the git repository must include its dependencies in the charts - **Temporary Workaround**: By default, user-defined secrets are not backed up in Fleet. It is necessary to recreate secrets if performing a disaster recovery restore or migration of Rancher into a fresh cluster. To modify resourceSet to include extra resources you want to backup, refer to docs [here](https://github.com/rancher/backup-restore-operator#user-flow). +- **Debug logging**: To enable debug logging of Fleet components, create a new **fleet** entry in the existing **rancher-config** ConfigMap in the **cattle-system** namespace with the value `{"debug": 1, "debugLevel": 1}`. The Fleet application restarts after you save the ConfigMap. + ## Documentation -The Fleet documentation is at https://fleet.rancher.io/. \ No newline at end of file +See the [official Fleet documentation](https://fleet.rancher.io/) to learn more.