Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3f6186

Browse files
committed
chore(docs): add support bundle guide
1 parent 7fd9a75 commit e3f6186

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed

docs/guides/support-bundle.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Generate and upload a Support Bundle to Coder Support
2+
3+
When you engage with Coder support to diagnose an issue with your deployment,
4+
you may be asked to generate and upload a "Support Bundle" for offline analysis.
5+
This document explains the contents of a support bundle and the steps to submit
6+
a support bundle to Coder staff.
7+
8+
## What is a Support Bundle?
9+
10+
A support bundle is an archive containing a snapshot of information about your
11+
Coder deployment.
12+
13+
It contains information about the workspace, the template it uses, running
14+
agents in the workspace, and other detailed information useful for
15+
troubleshooting.
16+
17+
It is primarily intended for troubleshooting connectivity issues to workspaces,
18+
but can be useful for diagnosing other issues as well.
19+
20+
**While we attempt to redact sensitive information from support bundles, they
21+
may contain information deemed sensitive by your organization and should be
22+
treated as such.**
23+
24+
A brief overview of all files contained in the bundle is provided below:
25+
26+
> Note: detailed descriptions of all the information available in the bundle is
27+
> out of scope, as support bundles are primarily intended for internal use.
28+
29+
| Filename | Description |
30+
| --------------------------------- | ------------------------------------------------------------------------------------------------ |
31+
| `cli_logs.txt` | Logs from running the `coder support bundle` command. |
32+
| `logs.txt` | Logs from the `codersdk.Client` used to generate the bundle. |
33+
| `deployment/buildinfo.json` | Coder version and build information. |
34+
| `deployment/config.json` | Deployment [configuration](../api/general.md#get-deployment-config), with secret values removed. |
35+
| `deployment/experiments.json` | Any [experiments](../cli/server.md#experiments) currently enabled for the deployment. |
36+
| `deployment/health.json` | A snapshot of the [health status](../admin/healthcheck.md) of the deployment. |
37+
| `network/coordinator_debug.html` | Peers currently connected to each Coder instance and the tunnels established between peers. |
38+
| `network/netcheck.json` | DERP regions available, their connection status, and capabilities (STUN, DERP, etc.). |
39+
| `network/tailnet_debug.html` | Tailnet coordinators, their heartbeat ages, connected peers, and tunnels. |
40+
| `workspace/build_logs.txt` | Build logs of the selected workspace. |
41+
| `workspace/workspace.json` | Details of the selected workspace. |
42+
| `workspace/parameters.json` | Build parameters of the selected workspace. |
43+
| `workspace/template.json` | The template currently in use by the selected workspace. |
44+
| `workspace/template_file.zip` | The source code of the template currently in use by the selected workspace. |
45+
| `workspace/template_version.json` | The template version currently in use by the selected workspace. |
46+
| `agent/agent.json` | The agent used to connect to the workspace with environment variables stripped. |
47+
| `agent/agent_magicsock.html` | The contents of the HTTP debug endpoint of the agent's Tailscale connection. |
48+
| `agent/client_magicsock.html` | The contents of the HTTP debug endpoint of the client's Tailscale connection. |
49+
| `agent/listening_ports.json` | The listening ports detected by the selected agent running in the workspace. |
50+
| `agent/logs.txt` | The logs of the selected agent running in the workspace. |
51+
| `agent/manifest.json` | The manifest of the selected agent with environment variables stripped. |
52+
| `agent/startup_logs.txt` | Startup logs of the workspace agent. |
53+
| `agent/prometheus.txt` | The contents of the agent's Prometheus endpoint. |
54+
55+
## How do I generate a Support Bundle?
56+
57+
1. Ensure your deployment is up and running. Generating a support bundle
58+
requires the Coder deployment to be available.
59+
60+
2. Ensure you have the Coder CLI installed on a local machine. See
61+
(installation)[../install/index.md] for steps on how to do this.
62+
63+
> Note: It is recommended to generate a support bundle from a location
64+
> experiencing workspace connectivity issues.
65+
66+
3. Ensure you are [logged in](../cli/login.md#login) to your Coder deployment as
67+
a user with the Owner privilege.
68+
69+
4. Run `coder support bundle [owner/workspace]`, and respond `yes` to the
70+
prompt. The support bundle will be generated in the current directory with
71+
the filename `coder-support-$TIMESTAMP.zip`.
72+
73+
> Note that generating a support bundle currently requires a running
74+
> workspace to function.
75+
76+
5. (Recommended) Extract the support bundle and review its contents, redacting
77+
any information you deem necessary.
78+
79+
6. Coder staff will provide you a link where you can upload the bundle along
80+
with any other necessary supporting files.
81+
82+
> Note: It is helpful to leave an informative message regarding the nature of
83+
> supporting files.
84+
85+
Coder support will then review the information you provided and respond to you
86+
with next steps.

docs/manifest.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,11 @@
10701070
"path": "./guides/index.md",
10711071
"icon_path": "./images/icons/notes.svg",
10721072
"children": [
1073+
{
1074+
"title": "Generate a Support Bundle",
1075+
"description": "Generate and upload a Support Bundle to Coder Support",
1076+
"path": "./guides/support-bundle.md"
1077+
},
10731078
{
10741079
"title": "Configuring Okta",
10751080
"description": "Custom claims/scopes with Okta for group/role sync",

0 commit comments

Comments
 (0)