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
* doc: document embedded-cluster support-bundle command
this is a temporary PR as XXX needs to be replaced with the actual
embedded-cluster version yet to be released.
* chore: improve wording
* chore: improve wording
* docs edits
* edits
* add version and clarify app-level info
* edit
* Update _ec-support-bundle-intro.mdx
---------
Co-authored-by: Paige Calvert <[email protected]>
Co-authored-by: Alex Parker <[email protected]>
Embedded Cluster includes a default support bundle spec that collects both host- and cluster-level information.
2
+
3
+
The host-level information is useful for troubleshooting failures related to host configuration like DNS, networking, or storage problems. Cluster-level information includes details about the components provided by Replicated, such as the Admin Console and Embedded Cluster operator that manage install and upgrade operations. If the cluster has not installed successfully and cluster-level information is not available, then it is excluded from the bundle.
4
+
5
+
In addition to the host- and cluster-level details provided by the default Embedded Cluster spec, support bundles generated for Embedded Cluster installations also include app-level details provided by any custom support bundle specs that you included in the application release.
Copy file name to clipboardExpand all lines: docs/partials/support-bundles/_generate-bundle-ec.mdx
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,35 @@
1
+
There are different steps to generate a support bundle depending on the version of Embedded Cluster installed.
2
+
3
+
### For Versions 1.17.0 and Later
4
+
5
+
For Embedded Cluster 1.17.0 and later, you can run the Embedded Cluster `support-bundle` command to generate a support bundle.
6
+
7
+
The `support-bundle` command uses the default Embedded Cluster support bundle spec to collect both cluster- and host-level information. It also automatically includes any application-specific support bundle specs in the generated bundle.
8
+
1
9
To generate a support bundle:
2
10
11
+
1. SSH onto a controller node.
12
+
13
+
:::note
14
+
You can SSH onto a worker node to generate a support bundle that contains information specific to that node. However, when run on a worker node, the `support-bundle` command does not capture cluster-wide information.
15
+
:::
16
+
17
+
1. Run the following command:
18
+
19
+
```bash
20
+
sudo ./APP_SLUG support-bundle
21
+
```
22
+
23
+
Where `APP_SLUG` is the unique slug for the application.
24
+
25
+
### For Versions Earlier Than 1.17.0
26
+
27
+
For Embedded Cluster versions earlier than 1.17.0, you can generate a support bundle from the shell using the kubectl support-bundle plugin.
28
+
29
+
To generate a bundle with the support-bundle plugin, you pass the default Embedded Cluster spec to collect both cluster- and host-level information. You also pass the `--load-cluster-specs` flag, which discovers all support bundle specs that are defined in Secrets or ConfigMaps in the cluster. This ensures that any application-specific specs are also included in the bundle. For more information, see [Discover Cluster Specs](https://troubleshoot.sh/docs/support-bundle/discover-cluster-specs/) in the Troubleshoot documentation.
30
+
31
+
To generate a bundle:
32
+
3
33
1. SSH onto a controller node.
4
34
5
35
1. Use the Embedded Cluster shell command to start a shell with access to the cluster:
@@ -241,20 +242,6 @@ To access the cluster and use other included binaries:
241
242
If you encounter a typical workflow where your customers have to use the Embedded Cluster shell, reach out to Alex Parker at [email protected]. These workflows might be candidates for additional Admin Console functionality.
242
243
:::
243
244
244
-
### Troubleshoot
245
-
246
-
From the shell, you can generate a support bundle for Replicated Embedded Cluster installations to help with troubleshooting.
247
-
248
-
The default support bundle spec for Embedded Cluster collects host-level information to troubleshoot failures related to host configuration like DNS, networking, or storage problems.
249
-
250
-
It also collects cluster-level information about the components provided by Replicated, such as the Admin Console and Embedded Cluster operator that manage install and upgrade operations. If the cluster has not installed successfully and cluster-level information is not available, it will be excluded from the bundle.
251
-
252
-
When generating the default host bundle for Embedded Cluster installations, you can also use the `--load-cluster-specs` flag to automatically discover all support bundle specs that are defined in Secrets or ConfigMaps in the cluster. This ensures that any application-specific specs are included in the bundle. For more information, see [Discover Cluster Specs](https://troubleshoot.sh/docs/support-bundle/discover-cluster-specs/) in the Troubleshoot documentation.
253
-
254
-
<EmbeddedClusterSupportBundle/>
255
-
256
-
You can then use the support bundle for troubleshooting or provide it to Replicated for assistance.
257
-
258
245
## Manage Nodes
259
246
260
247
The section describes managing nodes in clusters created with Embedded Cluster, including how to add or reset nodes.
This topic describes how to generate a support bundle that includes host-level information for [Replicated Embedded Cluster](/vendor/embedded-overview) installations. For information about generating host support bundles for Replicated kURL installations, see [Generating Host Bundles for kURL](/vendor/support-host-support-bundles).
6
+
This topic describes how to generate a support bundle that includes cluster- and host-level information for [Replicated Embedded Cluster](/vendor/embedded-overview) installations.
6
7
7
-
## Overview
8
-
9
-
From the shell, you can generate a support bundle for Replicated Embedded Cluster installations to help with troubleshooting.
8
+
For information about generating host support bundles for Replicated kURL installations, see [Generating Host Bundles for kURL](/vendor/support-host-support-bundles).
10
9
11
-
The default support bundle spec for Embedded Cluster collects host-level information to troubleshoot failures related to host configuration like DNS, networking, or storage problems.
12
-
13
-
It also collects cluster-level information about the components provided by Replicated, such as the Admin Console and Embedded Cluster operator that manage install and upgrade operations. If the cluster has not installed successfully and cluster-level information is not available, it will be excluded from the bundle.
10
+
## Overview
14
11
15
-
When generating the default host bundle for Embedded Cluster installations, you can also use the `--load-cluster-specs` flag to automatically discover all support bundle specs that are defined in Secrets or ConfigMaps in the cluster. This ensures that any application-specific specs are included in the bundle. For more information, see [Discover Cluster Specs](https://troubleshoot.sh/docs/support-bundle/discover-cluster-specs/) in the Troubleshoot documentation.
Copy file name to clipboardExpand all lines: docs/vendor/support-bundle-generating.mdx
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ import GenerateBundle from "../partials/support-bundles/_generate-bundle.mdx"
5
5
6
6
This topic describes how to generate support bundles from the command line using the kubectl support-bundle plugin. For more information about support bundles, see [About Preflights and Support Bundles](/vendor/preflight-support-bundle-about).
7
7
8
+
The information in this topic applies to generating support bundles in clusters where you have kubectl access. For information about generating support bundles that include cluster- and host-level information for Replicated Embedded Cluster installations, see [Generating Support Bundles for Embedded Cluster](support-bundle-embedded).
9
+
8
10
## Prerequisite: Install the support-bundle Plugin
0 commit comments